summaryrefslogtreecommitdiffabout
path: root/ui-repolist.c
authorLars Hjemli <hjemli@gmail.com>2009-08-09 11:46:34 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2009-08-09 11:46:34 (UTC)
commitdb8b8cb9467625cb8d9ecb67863aa67590e59cc0 (patch) (side-by-side diff)
treed27644fc1b98ec6365e74f3ba40c19f78f8a287f /ui-repolist.c
parentdb6303b58883c4417f5bcc0c1ee34fed6553dca3 (diff)
parent537c05f138d59c1eb3ac8e2d8b0dca3a38aa5dd4 (diff)
downloadcgit-db8b8cb9467625cb8d9ecb67863aa67590e59cc0.zip
cgit-db8b8cb9467625cb8d9ecb67863aa67590e59cc0.tar.gz
cgit-db8b8cb9467625cb8d9ecb67863aa67590e59cc0.tar.bz2
Merge branch 'lh/about'
Conflicts: cgit.h
Diffstat (limited to 'ui-repolist.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-repolist.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 2c13d50..25f076f 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -270,9 +270,14 @@ void cgit_print_repolist()
print_pager(hits, ctx.cfg.max_repo_count, ctx.qry.search);
cgit_print_docend();
}
void cgit_print_site_readme()
{
- if (ctx.cfg.root_readme)
- html_include(ctx.cfg.root_readme);
+ if (!ctx.cfg.root_readme)
+ return;
+ if (ctx.cfg.about_filter)
+ cgit_open_filter(ctx.cfg.about_filter);
+ html_include(ctx.cfg.root_readme);
+ if (ctx.cfg.about_filter)
+ cgit_close_filter(ctx.cfg.about_filter);
}