Diffstat (limited to 'ui-repolist.c')
| -rw-r--r-- | ui-repolist.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 25f076f..2c13d50 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -273,11 +273,6 @@ void cgit_print_repolist() void cgit_print_site_readme() { - if (!ctx.cfg.root_readme) - return; - if (ctx.cfg.about_filter) - cgit_open_filter(ctx.cfg.about_filter); - html_include(ctx.cfg.root_readme); - if (ctx.cfg.about_filter) - cgit_close_filter(ctx.cfg.about_filter); + if (ctx.cfg.root_readme) + html_include(ctx.cfg.root_readme); } |