stagit

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.clttr.info/stagit.git
Log (Feed) | Files | Refs (Tags) | | README | LICENSE

commit 77e81b030df26f9b143773f09e34391b5b20ba01
parent f4e0c86754146b2020d5ecb09d9bda4e6a236cda
Author: René Wagner <rwa@clttr.info>
Date:   Thu,  9 Jun 2022 19:19:49 +0200

refactor feed links

Diffstat:
Mstagit.c | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -535,19 +535,18 @@ writeheader(FILE *fp, const char *title) fputs("</a></td></tr>", fp); } fputs("<tr><td></td><td>\n", fp); - fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath); + fprintf(fp, "<a href=\"%slog.html\">Log</a> (<a href=\"%satom.xml\">Feed</a>) | ", relpath, relpath); fprintf(fp, "<a href=\"%sfiles.html\">Files</a> | ", relpath); - fprintf(fp, "<a href=\"%srefs.html\">Refs</a> | ", relpath); + fprintf(fp, "<a href=\"%srefs.html\">Refs</a> (<a href=\"%stags.xml\">Tags</a>) | ", relpath, relpath); if (submodules) - fprintf(fp, "<a href=\"%sfile/%s.html\">Submodules</a> | ", + fprintf(fp, " | <a href=\"%sfile/%s.html\">Submodules</a>", relpath, submodules); if (readme) - fprintf(fp, "<a href=\"%sfile/%s.html\">README</a> | ", + fprintf(fp, " | <a href=\"%sfile/%s.html\">README</a>", relpath, readme); if (license) - fprintf(fp, "<a href=\"%sfile/%s.html\">LICENSE</a> | ", + fprintf(fp, " | <a href=\"%sfile/%s.html\">LICENSE</a>", relpath, license); - fprintf(fp, "<a href=\"%satom.xml\">Feed</a>", relpath); fputs("</td></tr></table>\n<hr/>\n<div id=\"content\">\n", fp); }