summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-17 01:04:25 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-17 01:04:25 -0400
commitb3dd8708cf409777d1265684f80eabd853a36ef4 (patch)
tree7412d8158db24529f544400ed9bf28ec2564b5dc
parentcc8f0c634b1dac13dc430a5365ea06c30bb87c81 (diff)
Link stagit index logo to homepage
-rw-r--r--stagit-index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stagit-index.c b/stagit-index.c
index 7ae9f6c..a4b14de 100644
--- a/stagit-index.c
+++ b/stagit-index.c
@@ -71,7 +71,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><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n"
+ fprintf(fp, "<table>\n<tr><td><a href='https://chausse.xyz' target='_blank'><img src=\"%slogo.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"