summaryrefslogtreecommitdiffabout
path: root/ui-repolist.c
Unidiff
Diffstat (limited to 'ui-repolist.c') (more/less context) (ignore whitespace changes)
-rw-r--r--ui-repolist.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 200640c..3f78e28 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -127,12 +127,18 @@ void cgit_print_repolist()
127 cgit_log_link("log", NULL, "button", NULL, NULL, NULL, 127 cgit_log_link("log", NULL, "button", NULL, NULL, NULL,
128 0, NULL, NULL); 128 0, NULL, NULL);
129 cgit_tree_link("tree", NULL, "button", NULL, NULL, NULL); 129 cgit_tree_link("tree", NULL, "button", NULL, NULL, NULL);
130 html("</td>"); 130 html("</td>");
131 } 131 }
132 html("</tr>\n"); 132 html("</tr>\n");
133 } 133 }
134 html("</table>"); 134 html("</table>");
135 if (!hits) 135 if (!hits)
136 cgit_print_error("No repositories found"); 136 cgit_print_error("No repositories found");
137 cgit_print_docend(); 137 cgit_print_docend();
138} 138}
139
140void cgit_print_site_readme()
141{
142 if (ctx.cfg.root_readme)
143 html_include(ctx.cfg.root_readme);
144}