logo

stagit

STAtic GIT web view generator (in C) git clone https://hacktivis.me/git/stagit.git
commit: 60ba04b690a93eac88b28575762acd7babdebd81
parent 3680c2d70e9176b5fd527b721dbba2ccced17366
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 @@ -542,13 +542,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); }