logo

stagit

STAtic GIT web view generator (in C) git clone https://hacktivis.me/git/stagit.git
commit: 381cc410ff825fe02150e80421eacada2bcf2275
parent cc9938ff2dfbb23733276342e363a48cb1cee4e3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 11 Feb 2019 03:09:41 +0100

stagit.c: fixup HTML5

Diffstat:

Mstagit.c6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -508,13 +508,13 @@ writeheader(FILE *fp, const char *title) fprintf(fp, " <a rel=\"index\" href=\"%sfiles.html\">Files</a>", relpath); fprintf(fp, " <a href=\"%srefs.html\">Refs</a>", 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); fputs("</nav>\n<main>\n", fp); }