stagit

stagit (https://www.codemadness.org/stagit.html) fork
git clone git://bsandro.tech/stagit
Log | Files | Refs | README | LICENSE

commit cbb82894b3dcacdb06e08e27815403c7f057dabf
parent ec10d76b682eef1b0290d8ccaa7063744e972e77
Author: bsandro <email@bsandro.tech>
Date:   Sat, 20 Dec 2025 00:58:17 +0200

using favicon.png instead of logo.png

Diffstat:
Mstagit-index.c | 2+-
Mstagit.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -104,7 +104,7 @@ writeheader(FILE *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); - fprintf(fp, "<table>\n<tr><td><a href=\"/\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a></td>\n" + fprintf(fp, "<table>\n<tr><td><a href=\"/\"><img src=\"%sfavicon.png\" alt=\"\" width=\"32\" height=\"32\" /></a></td>\n" "<td><span class=\"desc\">", relpath); xmlencode(fp, description, strlen(description)); fputs("</span></td></tr><tr><td></td><td>\n" diff --git a/stagit.c b/stagit.c @@ -520,7 +520,7 @@ writeheader(FILE *fp, const char *title) 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<table><tr><td>", fp); - fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>", + fprintf(fp, "<a href=\"../%s\"><img src=\"%sfavicon.png\" alt=\"\" width=\"32\" height=\"32\" /></a>", relpath, relpath); fputs("</td><td><h1>", fp); xmlencode(fp, strippedname, strlen(strippedname));