Commit: 80f9a35b1cc4222d4b638211359771660f8db317
Parent: 4cd8e029171ed72b4933a95abb539baa6ac2a2a8
Author: Randy Palamar
Date: Sat, 4 Nov 2023 17:38:33 -0600
set body class to git
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -104,7 +104,7 @@ writeheader(FILE *fp)
fputs(indextitle, fp);
fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
- fputs("</head>\n<body>\n", fp);
+ fputs("</head>\n<body class=\"git\">\n", fp);
fprintf(fp, "<nav>\n\t<h4><a href=\"/\">%s</a></h4>\n", navtitle);
fputs("\t<div class=\"navbar\">\n", fp);
for (int i = 0; i < (sizeof(navbar)/sizeof(*navbar)); i++)
diff --git a/stagit.c b/stagit.c
@@ -520,7 +520,7 @@ writeheader(FILE *fp, const char *title)
xmlencode(fp, name, strlen(name));
fprintf(fp, " Atom Feed (tags)\" href=\"%stags.xml\" />\n", relpath);
fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
- fputs("</head>\n<body>\n<nav>\n\t<h4>", fp);
+ fputs("</head>\n<body class=\"git\">\n<nav>\n\t<h4>", fp);
fprintf(fp, "<a href=\"/\">%s</a></h4>\n", navtitle);
fputs("\t<div class=\"navbar\">\n", fp);
for (int i = 0; i < LEN(navbar); i++)