]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
cgitrc.5.txt: document 'head-include'
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 608cab658425e5c11270ac3d1690a842eec71891..2afc5988afa1261b3adacfd4d8c307838766c1cb 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -31,6 +31,10 @@ void config_cb(const char *name, const char *value)
                ctx.cfg.favicon = xstrdup(value);
        else if (!strcmp(name, "footer"))
                ctx.cfg.footer = xstrdup(value);
                ctx.cfg.favicon = xstrdup(value);
        else if (!strcmp(name, "footer"))
                ctx.cfg.footer = xstrdup(value);
+       else if (!strcmp(name, "head-include"))
+               ctx.cfg.head_include = xstrdup(value);
+       else if (!strcmp(name, "header"))
+               ctx.cfg.header = xstrdup(value);
        else if (!strcmp(name, "logo"))
                ctx.cfg.logo = xstrdup(value);
        else if (!strcmp(name, "index-header"))
        else if (!strcmp(name, "logo"))
                ctx.cfg.logo = xstrdup(value);
        else if (!strcmp(name, "index-header"))