diff options
| author | patrick-scho | 2025-12-01 00:03:35 +0100 |
|---|---|---|
| committer | patrick-scho | 2025-12-01 00:03:35 +0100 |
| commit | 8398d7f957a32a45496242c50eeb0d4eccc7ad8a (patch) | |
| tree | 5f14e261414ce22d9c67615a5574fb8ece98c64c /ui-summary.c | |
| parent | 5b1bd6b3c3ac267b1c43f9068ecf96ecb56fb5f7 (diff) | |
| download | ps-cgit-8398d7f957a32a45496242c50eeb0d4eccc7ad8a.tar.gz ps-cgit-8398d7f957a32a45496242c50eeb0d4eccc7ad8a.zip | |
try to fix readme in summary
Diffstat (limited to 'ui-summary.c')
| -rw-r--r-- | ui-summary.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui-summary.c b/ui-summary.c index 947812a..3ee4c3f 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -50,6 +50,14 @@ void cgit_print_summary(void) columns++; cgit_print_layout_start(); + + // insert readme + if (ctx.cfg.root_readme) { + cgit_open_filter(ctx.cfg.about_filter, ctx.cfg.root_readme); + html_include(ctx.cfg.root_readme); + cgit_close_filter(ctx.cfg.about_filter); + } + html("<table summary='repository info' class='list nowrap'>"); cgit_print_branches(ctx.cfg.summary_branches); htmlf("<tr class='nohover'><td colspan='%d'> </td></tr>", columns); |
