commit: 7aedb0833c8480226fcf2f21ae7ac6cc1d78c40b
parent 917feccaa284ac5f34acb1e403782b7a268773d3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 21 Mar 2019 11:32:07 +0100
stagit.c: Move atom link next to Log for better discoverability
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c
@@ -483,8 +483,6 @@ writeheader(FILE *fp, const char *title)
if(strlen(faviconurl) > 0) {
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%s\" />\n", faviconurl);
}
- fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n",
- name, relpath);
fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed (tags)\" href=\"%stags.xml\" />\n",
name, relpath);
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", assetpath);
@@ -505,6 +503,8 @@ writeheader(FILE *fp, const char *title)
}
fputs("</header><nav>\n", fp);
fprintf(fp, " <a rel=\"version-history\" href=\"%slog.html\">Log</a>", relpath);
+ fprintf(fp, " (<a rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\">atom</a>)",
+ name, relpath);
fprintf(fp, " <a rel=\"index\" href=\"%sfiles.html\">Files</a>", relpath);
fprintf(fp, " <a href=\"%srefs.html\">Refs</a>", relpath);
if (submodules)