]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
extra-head-content: introduce another option for meta tags
[ps-cgit] / ui-shared.c
index a63dcb041d99cdf65d101bd98bcc19059e329d94..9a2e382b62abfe6241123711a88223da8cfb59ab 100644 (file)
@@ -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)