diff options
Diffstat (limited to 'ui-repolist.c')
-rw-r--r-- | ui-repolist.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 3aedde5..6d2f93f 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -274,6 +274,11 @@ void cgit_print_repolist() | |||
274 | 274 | ||
275 | void cgit_print_site_readme() | 275 | void cgit_print_site_readme() |
276 | { | 276 | { |
277 | if (ctx.cfg.root_readme) | 277 | if (!ctx.cfg.root_readme) |
278 | html_include(ctx.cfg.root_readme); | 278 | return; |
279 | if (ctx.cfg.about_filter) | ||
280 | cgit_open_filter(ctx.cfg.about_filter); | ||
281 | html_include(ctx.cfg.root_readme); | ||
282 | if (ctx.cfg.about_filter) | ||
283 | cgit_close_filter(ctx.cfg.about_filter); | ||
279 | } | 284 | } |