0021-stagit.c-Move-atom-link-next-to-Log-for-better-disco.patch (1486B)
- From 05d3fadaf9324a62c132c1514d1b456998e2dab0 Mon Sep 17 00:00:00 2001
- From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
- Date: Thu, 21 Mar 2019 11:32:07 +0100
- Subject: [PATCH 21/22] stagit.c: Move atom link next to Log for better
- discoverability
- ---
- stagit.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- diff --git a/stagit.c b/stagit.c
- index f6282fa..48d6d5c 100644
- --- a/stagit.c
- +++ b/stagit.c
- @@ -355,8 +355,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=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", assetpath);
- fputs("</head>\n<body>\n<header>", fp);
- fprintf(fp, "<a href=\"..\"><img src=\"%slogo.png\" alt=\"logo\" width=\"32\" height=\"32\" /></a>",
- @@ -375,6 +373,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)
- --
- 2.26.2