From 49b183ff25cd274be7551836b9371236731eef82 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 30 Jul 2018 09:33:14 +0100 Subject: small change in index link --- ui_70-shared.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3