about summary refs log tree commit diff stats
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorLars Hjemli2009-08-09 13:46:34 +0200
committerLars Hjemli2009-08-09 13:46:34 +0200
commitdb8b8cb9467625cb8d9ecb67863aa67590e59cc0 (patch)
treed27644fc1b98ec6365e74f3ba40c19f78f8a287f /ui-repolist.c
parentMerge branch 'lh/plugins' (diff)
parentAdd 'about-filter' and 'repo.about-filter' options (diff)
downloadcgit-db8b8cb9467625cb8d9ecb67863aa67590e59cc0.tar.gz
cgit-db8b8cb9467625cb8d9ecb67863aa67590e59cc0.zip
Merge branch 'lh/about'
Conflicts:
	cgit.h
Diffstat (limited to 'ui-repolist.c')
-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
@@ -273,6 +273,11 @@ void cgit_print_repolist()
273 273
274void cgit_print_site_readme() 274void cgit_print_site_readme()
275{ 275{
276 if (ctx.cfg.root_readme) 276 if (!ctx.cfg.root_readme)
277 html_include(ctx.cfg.root_readme); 277 return;
278 if (ctx.cfg.about_filter)
279 cgit_open_filter(ctx.cfg.about_filter);
280 html_include(ctx.cfg.root_readme);
281 if (ctx.cfg.about_filter)
282 cgit_close_filter(ctx.cfg.about_filter);
278} 283}