stagit
Personal fork of stagit
git clone git://mccd.space/stagit
| Log | Files | Refs | README | LICENSE |
commit f63ea841e5350a871823d0306f37b1abf0c96c44 parent 47df7485d0a7338c1dfcc363cffd975d618bdcbd Author: Marc <marc@coquand.email> Date: Sun, 21 Jun 2026 11:37:11 +0200 Remove the logo Diffstat:
| M | stagit-index.c | | | 4 | ++-- |
| M | stagit.c | | | 6 | ++---- |
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -104,10 +104,10 @@ 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><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n"
+ fprintf(fp, "<table>\n<tr>\n"
"<td><span class=\"desc\">", relpath);
xmlencode(fp, description, strlen(description));
- fputs("</span></td></tr><tr><td></td><td>\n"
+ fputs("</span></td></tr><tr><td>\n"
"</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
"<table id=\"index\"><thead>\n"
"<tr><td><b>Name</b></td><td><b>Description</b></td><td><b>Owner</b></td>"
diff --git a/stagit.c b/stagit.c
@@ -519,10 +519,8 @@ 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<table><tr><td>", fp);
- fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
- relpath, relpath);
- fputs("</td><td><h1>", fp);
+ fputs("</head>\n<body>\n<table><tr>", fp);
+ fputs("<td><h1>", fp);
xmlencode(fp, strippedname, strlen(strippedname));
fputs("</h1><span class=\"desc\">", fp);
xmlencode(fp, description, strlen(description));