aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorGravatar Lars Hjemli <hjemli@gmail.com>2012-01-04 06:19:29 (JST)
committerGravatar Lars Hjemli <hjemli@gmail.com>2012-01-04 06:19:29 (JST)
commit1de3048d08fc6491630c45437f88f5ab03c0508f (patch)
tree3a8db575148b0d0a6f86835e5ef283f594d2feac /ui-shared.c
parentaa25ff3c8b548077f2793c1162f3610af03e63df (diff)
parent94b7c76e531315b245f79a9e2dfd0655e6e45fee (diff)
downloadcgit-1de3048d08fc6491630c45437f88f5ab03c0508f.zip
cgit-1de3048d08fc6491630c45437f88f5ab03c0508f.tar.gz
Merge branch 'stable'
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 85c2096..3e9282f 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -619,7 +619,7 @@ void cgit_print_docstart(struct cgit_context *ctx)
619 html_attr(ctx->cfg.favicon); 619 html_attr(ctx->cfg.favicon);
620 html("'/>\n"); 620 html("'/>\n");
621 } 621 }
622 if (host && ctx->repo) { 622 if (host && ctx->repo && ctx->qry.head) {
623 html("<link rel='alternate' title='Atom feed' href='"); 623 html("<link rel='alternate' title='Atom feed' href='");
624 html(cgit_httpscheme()); 624 html(cgit_httpscheme());
625 html_attr(cgit_hosturl()); 625 html_attr(cgit_hosturl());