stagit

personal fork of static git page generator
git clone https://a3nm.net/git/stagit/
Log | Files | Refs | README | LICENSE

commit 57454741543682bc94962b76f660dde0d0b62789
parent 832f791e57d6b950b646a21983ef6206a796ffa7
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu, 10 May 2018 11:07:23 +0200

link on image

Diffstat:
stagit-index.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -80,7 +80,8 @@ writeheader(FILE *fp) fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"/favicon.png\" />\n", relpath); fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"/stagit_style.css\" />\n", relpath); fputs("</head>\n<body>\n", fp); - fprintf(fp, "<table>\n<tr><td><img src=\"/stagit_logo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n" + fprintf(fp, "<table>\n<tr><td><a href=\"../\">" + "<img src=\"/stagit_logo.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"