diff options
Diffstat (limited to 'ui-repolist.c')
-rw-r--r-- | ui-repolist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c index 43253ed..ac1b3e3 100644 --- a/ui-repolist.c +++ b/ui-repolist.c | |||
@@ -345,9 +345,12 @@ void cgit_print_repolist(void) | |||
345 | 345 | ||
346 | void cgit_print_site_readme(void) | 346 | void cgit_print_site_readme(void) |
347 | { | 347 | { |
348 | cgit_print_layout_start(); | ||
348 | if (!ctx.cfg.root_readme) | 349 | if (!ctx.cfg.root_readme) |
349 | return; | 350 | goto done; |
350 | cgit_open_filter(ctx.cfg.about_filter, ctx.cfg.root_readme); | 351 | cgit_open_filter(ctx.cfg.about_filter, ctx.cfg.root_readme); |
351 | html_include(ctx.cfg.root_readme); | 352 | html_include(ctx.cfg.root_readme); |
352 | cgit_close_filter(ctx.cfg.about_filter); | 353 | cgit_close_filter(ctx.cfg.about_filter); |
354 | done: | ||
355 | cgit_print_layout_end(); | ||
353 | } | 356 | } |