X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/2f8648ff7f5c7119ab035c134504f04eefe068fb..b522a302c9c4fb9fd9e1ea829ee990afc74980ca:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index e8c0723..9a2e382 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -775,6 +775,8 @@ void cgit_print_docstart(void) cgit_add_clone_urls(print_rel_vcs_link); if (ctx.cfg.head_include) html_include(ctx.cfg.head_include); + if (ctx.repo && ctx.repo->extra_head_content) + html(ctx.repo->extra_head_content); html("\n"); html("\n"); if (ctx.cfg.header) @@ -977,8 +979,6 @@ static void print_header(void) } else { if (ctx.cfg.root_desc) html_txt(ctx.cfg.root_desc); - else if (ctx.cfg.index_info) - html_include(ctx.cfg.index_info); } html("\n"); }