aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 52448d4..f4b1a51 100644
--- a/src/config.c
+++ b/src/config.c
@@ -129,6 +129,10 @@ config_fetch_and_parse(char *path)
char *content = fcontent(f, s);
fclose(f);
+ char *p = strstr(content, "---");
+ if (p != NULL)
+ content[p - content] = '\0';
+
config_t *config = config_parse(content);
free(content);