]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.c
Prepare for 'about site' page / add 'root-readme' option to cgitrc
[ps-cgit] / cgit.c
diff --git a/cgit.c b/cgit.c
index d37abc96ec304b082d83cc65be2ebfedf43f3839..a402758fab53bc2c099e7b803fa8deee68226250 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -21,6 +21,8 @@ void config_cb(const char *name, const char *value)
                ctx.cfg.root_title = xstrdup(value);
        else if (!strcmp(name, "root-desc"))
                ctx.cfg.root_desc = xstrdup(value);
+       else if (!strcmp(name, "root-readme"))
+               ctx.cfg.root_readme = xstrdup(value);
        else if (!strcmp(name, "css"))
                ctx.cfg.css = xstrdup(value);
        else if (!strcmp(name, "logo"))