aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorJason A. Donenfeld2018-02-12 23:10:06 +0100
committerJason A. Donenfeld2018-07-03 20:37:00 +0200
commitb522a302c9c4fb9fd9e1ea829ee990afc74980ca (patch)
treeb1815354f08c1a16fb9d9c6d15dbe51bc3accbfd /ui-shared.c
parentc4fbb99cee30fa295e240b429b2dc7e8ad83d535 (diff)
downloadcgit-b522a302c9c4fb9fd9e1ea829ee990afc74980ca.tar.gz
cgit-b522a302c9c4fb9fd9e1ea829ee990afc74980ca.tar.bz2
cgit-b522a302c9c4fb9fd9e1ea829ee990afc74980ca.zip
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>
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index a63dcb0..9a2e382 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -775,6 +775,8 @@ void cgit_print_docstart(void)
775 cgit_add_clone_urls(print_rel_vcs_link); 775 cgit_add_clone_urls(print_rel_vcs_link);
776 if (ctx.cfg.head_include) 776 if (ctx.cfg.head_include)
777 html_include(ctx.cfg.head_include); 777 html_include(ctx.cfg.head_include);
778 if (ctx.repo && ctx.repo->extra_head_content)
779 html(ctx.repo->extra_head_content);
778 html("</head>\n"); 780 html("</head>\n");
779 html("<body>\n"); 781 html("<body>\n");
780 if (ctx.cfg.header) 782 if (ctx.cfg.header)