summaryrefslogtreecommitdiff
path: root/ui_70-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui_70-shared.c')
-rw-r--r--ui_70-shared.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui_70-shared.c b/ui_70-shared.c
index bad38a5..e258f57 100644
--- a/ui_70-shared.c
+++ b/ui_70-shared.c
@@ -383,6 +383,12 @@ void cgit_index_link(const char *name, const char *title, const char *class,
site_link(NULL, name, title, class, pattern, sort, ofs, always_root);
}
+void cgit_gopher_index_link(const char *name, const char *title, const char *class,
+ const char *pattern, const char *sort, int ofs, int always_root)
+{
+
+ cgit_index_link(name, title, class, pattern, sort, ofs, always_root);
+}
/*
static char *repolink(const char *title, const char *class, const char *page,
@@ -1151,7 +1157,7 @@ static void cgit_print_path_crumbs(char *path)
static void print_header(void)
{
if (ctx.repo) {
- cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
+ cgit_gopher_index_link("index", NULL, NULL, NULL, NULL, 0, 1);
cgit_gopher_start_selector(GOPHER_INFO);
cgit_gopher_text("Repository: ");
cgit_gopher_text(ctx.repo->name);