X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/dfc4c82aad1ca990544441ce8b90e99d32f0d82d..f618e8f7174011e1e793df2c67fb9d1341652054:/ui-shared.c?ds=sidebyside diff --git a/ui-shared.c b/ui-shared.c index 4f28512..fea2c40 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -496,10 +496,14 @@ 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("\n"); html("\n"); + if (ctx->cfg.header) + html_include(ctx->cfg.header); } void cgit_print_docend()