mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 09:34:43 +02:00
extra-head-content: introduce another option for meta tags
This is to support things like go-import meta tags, which are on a per-repo basis. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
c4fbb99cee
commit
b522a302c9
5 changed files with 12 additions and 0 deletions
|
@ -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("</head>\n");
|
||||
html("<body>\n");
|
||||
if (ctx.cfg.header)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue