X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/f7f26f88755ac6a3b9af4918b51b0d6e7a692c78..2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95:/ui-repolist.c?ds=sidebyside
diff --git a/ui-repolist.c b/ui-repolist.c
index d4ee279..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("
owner);
+ html("'>");
html_txt(ctx.repo->owner);
+ html("");
html(" | ");
}
print_modtime(ctx.repo);
@@ -331,13 +339,7 @@ void cgit_print_site_readme()
{
if (!ctx.cfg.root_readme)
return;
- if (ctx.cfg.about_filter) {
- ctx.cfg.about_filter->argv[1] = ctx.cfg.root_readme;
- cgit_open_filter(ctx.cfg.about_filter);
- }
+ 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);
- ctx.cfg.about_filter->argv[1] = NULL;
- }
+ cgit_close_filter(ctx.cfg.about_filter);
}
|