2
0
mirror of https://git.zx2c4.com/cgit/ synced 2024-11-04 06:00:44 +00:00

Merge branch 'stable'

This commit is contained in:
Lars Hjemli 2012-01-03 21:19:29 +00:00
commit 1de3048d08

View File

@ -619,7 +619,7 @@ void cgit_print_docstart(struct cgit_context *ctx)
html_attr(ctx->cfg.favicon);
html("'/>\n");
}
if (host && ctx->repo) {
if (host && ctx->repo && ctx->qry.head) {
html("<link rel='alternate' title='Atom feed' href='");
html(cgit_httpscheme());
html_attr(cgit_hosturl());