stagit

static git page - forked from git.codemadness.org/stagit
git clone git://src.gearsix.net/stagit
Log | Files | Refs | Atom | README | LICENSE

commit d72f682c24db5877b235ccb66dcd25b1f8170028
parent 31a99d8c56d5b20afdcc25b53c21002ebd62eaaf
Author: gearsix@tuta.io <gearsix@tuta.io>
Date:   Mon, 14 Sep 2020 12:18:40 +0100

changed icon back logo.png -> favicon.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 @@ -70,7 +70,7 @@ writeheader(FILE *fp) "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" "<title>", fp); xmlencode(fp, description, strlen(description)); - fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%slogo.png\" />\n", rootpath); + fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", rootpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", rootpath); fputs("</head>\n<body>\n", fp); fprintf(fp, "<table>\n<tr><td id=\"logo\"><img src=\"%slogo.png\" alt=\"\" width=\"50\" height=\"50\" /></td>\n" diff --git a/stagit.c b/stagit.c @@ -353,7 +353,7 @@ writeheader(FILE *fp, const char *title) if (description[0]) fputs(" - ", fp); xmlencode(fp, description, strlen(description)); - fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%slogo.png\" />\n", rootpath); + fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", rootpath); fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n", name, relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", rootpath);