]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
Add support for including a footer on all pages
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index 0deae12d2fd04d911a0772fa2a569c73694ddb08..8f154c96fbc793a0c170793fc8a8949ec1887de2 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -25,6 +25,8 @@ void config_cb(const char *name, const char *value)
                ctx.cfg.root_readme = xstrdup(value);
        else if (!strcmp(name, "css"))
                ctx.cfg.css = xstrdup(value);
+       else if (!strcmp(name, "footer"))
+               ctx.cfg.footer = xstrdup(value);
        else if (!strcmp(name, "logo"))
                ctx.cfg.logo = xstrdup(value);
        else if (!strcmp(name, "index-header"))