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>
这个提交包含在:
@ -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)
|
||||
|
在新工单中引用
屏蔽一个用户