]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
Re-enable 'index-info' and add support for 'root-desc' in cgitrc
[ps-cgit] / ui-shared.c
index 8a804c23b8997b4e75b328746027d411c43d63d1..83758f734c3b25e8950fc289cfa16bbd132eba13 100644 (file)
@@ -510,7 +510,10 @@ void cgit_print_pageheader(struct cgit_context *ctx)
                html_txt(ctx->repo->desc);
        } else {
                html(">");
-               html_txt("a fast webinterface for the git dscm");
+               if (ctx->cfg.root_desc)
+                       html_txt(ctx->cfg.root_desc);
+               else if (ctx->cfg.index_info)
+                       html_include(ctx->cfg.index_info);
        }
        html("</td></tr></table>\n");