X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/1de6591159cfe2e0cb442d781c0a360e4928ccca..2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index 7b1fec3..477a949 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -259,9 +259,9 @@ void cgit_print_repolist() ++columns; ctx.page.title = ctx.cfg.root_title; - cgit_print_http_headers(&ctx); - cgit_print_docstart(&ctx); - cgit_print_pageheader(&ctx); + cgit_print_http_headers(); + cgit_print_docstart(); + cgit_print_pageheader(); if (ctx.cfg.index_header) html_include(ctx.cfg.index_header); @@ -306,7 +306,13 @@ void cgit_print_repolist() html_link_close(); html(""); if (ctx.cfg.enable_index_owner) { + html(""); html_txt(ctx.repo->owner); + html(""); html(""); } print_modtime(ctx.repo); @@ -333,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); }