]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
Merge branch 'ml/head-include'
[ps-cgit] / ui-shared.c
index 10be3c057dab494ad9782220374d0df258247cf0..66d5b8220de122d69a8398119592f09114c83731 100644 (file)
@@ -516,8 +516,10 @@ void cgit_print_docstart(struct cgit_context *ctx)
                html_attr(cgit_hosturl());
                html_attr(cgit_fileurl(ctx->repo->url, "atom", ctx->qry.path,
                                       fmt("h=%s", ctx->qry.head)));
-               html("' type='application/atom+xml'/>");
+               html("' type='application/atom+xml'/>\n");
        }
+       if (ctx->cfg.head_include)
+               html_include(ctx->cfg.head_include);
        html("</head>\n");
        html("<body>\n");
        if (ctx->cfg.header)