diff options
Diffstat (limited to 'ui_70-shared.c')
-rw-r--r-- | ui_70-shared.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui_70-shared.c b/ui_70-shared.c index 02376b2..bad38a5 100644 --- a/ui_70-shared.c +++ b/ui_70-shared.c @@ -1152,17 +1152,17 @@ static void print_header(void) { if (ctx.repo) { cgit_index_link("index", NULL, NULL, NULL, NULL, 0, 1); - cgit_gopher_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); - } else - cgit_gopher_info(ctx.cfg.root_title); - if (ctx.repo) { cgit_gopher_start_selector(GOPHER_INFO); - cgit_gopher_text("Owner: "); + cgit_gopher_text("Repository: "); + cgit_gopher_text(ctx.repo->name); + cgit_gopher_text(" (owned by "); cgit_gopher_text(ctx.repo->owner); + cgit_gopher_text(")"); cgit_gopher_tab(); cgit_gopher_selector_link("Err"); cgit_gopher_end_selector(); - } + } else + cgit_gopher_info(ctx.cfg.root_title); } void cgit_print_pageheader(void) |