X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/ad74669e67ea08969776e6700ec37323e4935e23..aa943bc9a68ccdcc5cbe29f6ac3b5e787d4c22ca:/ui-repolist.c?ds=inline diff --git a/ui-repolist.c b/ui-repolist.c index 2453a7f..ac1b3e3 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -10,7 +10,6 @@ #include "ui-repolist.h" #include "html.h" #include "ui-shared.h" -#include static time_t read_agefile(char *path) { @@ -330,7 +329,7 @@ void cgit_print_repolist(void) html(""); cgit_summary_link("summary", NULL, "button", NULL); cgit_log_link("log", NULL, "button", NULL, NULL, NULL, - 0, NULL, NULL, ctx.qry.showmsg); + 0, NULL, NULL, ctx.qry.showmsg, 0); cgit_tree_link("tree", NULL, "button", NULL, NULL, NULL); html(""); } @@ -346,9 +345,12 @@ void cgit_print_repolist(void) void cgit_print_site_readme(void) { + cgit_print_layout_start(); if (!ctx.cfg.root_readme) - return; + goto done; cgit_open_filter(ctx.cfg.about_filter, ctx.cfg.root_readme); html_include(ctx.cfg.root_readme); cgit_close_filter(ctx.cfg.about_filter); +done: + cgit_print_layout_end(); }