logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

0021-stagit.c-Move-atom-link-next-to-Log-for-better-disco.patch (1486B)


  1. From 05d3fadaf9324a62c132c1514d1b456998e2dab0 Mon Sep 17 00:00:00 2001
  2. From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
  3. Date: Thu, 21 Mar 2019 11:32:07 +0100
  4. Subject: [PATCH 21/22] stagit.c: Move atom link next to Log for better
  5. discoverability
  6. ---
  7. stagit.c | 4 ++--
  8. 1 file changed, 2 insertions(+), 2 deletions(-)
  9. diff --git a/stagit.c b/stagit.c
  10. index f6282fa..48d6d5c 100644
  11. --- a/stagit.c
  12. +++ b/stagit.c
  13. @@ -355,8 +355,6 @@ writeheader(FILE *fp, const char *title)
  14. if(strlen(faviconurl) > 0) {
  15. fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%s\" />\n", faviconurl);
  16. }
  17. - fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n",
  18. - name, relpath);
  19. fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", assetpath);
  20. fputs("</head>\n<body>\n<header>", fp);
  21. fprintf(fp, "<a href=\"..\"><img src=\"%slogo.png\" alt=\"logo\" width=\"32\" height=\"32\" /></a>",
  22. @@ -375,6 +373,8 @@ writeheader(FILE *fp, const char *title)
  23. }
  24. fputs("</header><nav>\n", fp);
  25. fprintf(fp, " <a rel=\"version-history\" href=\"%slog.html\">Log</a>", relpath);
  26. + fprintf(fp, " (<a rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\">atom</a>)",
  27. + name, relpath);
  28. fprintf(fp, " <a rel=\"index\" href=\"%sfiles.html\">Files</a>", relpath);
  29. fprintf(fp, " <a href=\"%srefs.html\">Refs</a>", relpath);
  30. if (submodules)
  31. --
  32. 2.26.2