diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-07-30 09:33:14 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-07-30 09:33:14 +0100 |
commit | 49b183ff25cd274be7551836b9371236731eef82 (patch) | |
tree | 203e0f5040bb9066bc060eb196aa8bb661c14ff1 | |
parent | 63f5bd25c1b8a011a40d9768793bb6b05e5a1507 (diff) |
small change in index link
-rw-r--r-- | ui_70-shared.c | 8 |
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); |