X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/3d8a6507ca542881a5e8b30ad6b7068a9c4fdeea..2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95:/ui-repolist.c?ds=inline diff --git a/ui-repolist.c b/ui-repolist.c index f622a01..477a949 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -106,7 +106,9 @@ static int is_in_url(struct cgit_repo *repo) static void print_sort_header(const char *title, const char *sort) { - htmlf(""); html_txt(ctx.repo->owner); + html(""); html(""); } print_modtime(ctx.repo); @@ -331,9 +339,7 @@ void cgit_print_site_readme() { if (!ctx.cfg.root_readme) return; - if (ctx.cfg.about_filter) - cgit_open_filter(ctx.cfg.about_filter, ctx.cfg.root_readme); + cgit_open_filter(ctx.cfg.about_filter, ctx.cfg.root_readme); html_include(ctx.cfg.root_readme); - if (ctx.cfg.about_filter) - cgit_close_filter(ctx.cfg.about_filter); + cgit_close_filter(ctx.cfg.about_filter); }