]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Merge branch 'stable'
[ps-cgit] / ui-repolist.c
index 3aedde5456f761fe58926bfef7e28f389975aa41..6d2f93ffc05444b4ca34c17632c5f4f05e6a347d 100644 (file)
@@ -274,6 +274,11 @@ void cgit_print_repolist()
 
 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);
 }