summary refs log tree commit diff
path: root/ui-repolist.c
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2022-01-06 18:18:05 -0600
committerequa <equaa@protonmail.com>2022-01-06 18:36:08 -0600
commit99c81764f66c0877a7ed66f5a03d52f948377678 (patch)
tree97626b497daa42b067e2ba2a49f8f9f56a240f39 /ui-repolist.c
parent5258c297ba6fb604ae1415fbc19a3fe42457e49e (diff)
Add "default-tab" and "root-default-tab" configuration options HEAD master
These options allow the user to specify a page to display at the root
repository/index location instead of the default summary or repository list.

Signed-off-by: equa <equaa@protonmail.com>
Diffstat (limited to 'ui-repolist.c')
-rw-r--r--ui-repolist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-repolist.c b/ui-repolist.c
index 529a203..75db72a 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -321,7 +321,7 @@ void cgit_print_repolist(void)
 		}
 		htmlf("<tr><td class='%s'>",
 		      !sorted && section ? "sublevel-repo" : "toplevel-repo");
-		cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
+		cgit_repo_link(ctx.repo->name, ctx.repo->name, NULL, NULL);
 		html("</td><td>");
 		repourl = cgit_repourl(ctx.repo->url);
 		html_link_open(repourl, NULL, NULL);