stagit
static git repository generator
git clone https://9o.is/git/stagit.git
commit dcac2c5d05bc5b2eb73fc95272e19dd3793fe566 parent 3787cb0ead2015aa9e2f4976554f4e91f3935ea5 Author: Jul <jul@9o.is> Date: Thu, 15 Jan 2026 05:01:55 -0500 add class "git" to main Diffstat:
| M | stagit-index.c | | | 2 | +- |
| M | stagit.c | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c @@ -108,7 +108,7 @@ writeheader(FILE *fp) fputs("<li><a href=\"/\">Blog</a></li>\n", fp); fputs("<li><a href=\"/git\">Git</a></li>\n", fp); fputs("</ul></div></nav>\n", fp); - fputs("<main>\n", fp); + fputs("<main class=\"git\">\n", fp); fputs("<header class=\"main\"><h1>\n", fp); xmlencode(fp, description, strlen(description)); fputs("</h1></header>\n" diff --git a/stagit.c b/stagit.c @@ -525,7 +525,7 @@ writeheader(FILE *fp, const char *title) fputs("<li><a href=\"/\">Blog</a></li>\n", fp); fputs("<li><a href=\"/git\">Git</a></li>\n", fp); fputs("</ul></div></nav>\n", fp); - fputs("<main>\n", fp); + fputs("<main class=\"git\">\n", fp); fputs("<header class=\"main\">\n<h1>", fp); xmlencode(fp, strippedname, strlen(strippedname)); fputs("</h1><p>", fp);