| author | Thorsten Ortlepp
<post@ortlepp.eu> 2020-02-29 14:49:19 UTC |
| committer | Thorsten Ortlepp
<post@ortlepp.eu> 2020-02-29 14:49:19 UTC |
| parent | 6537d1b01a2da2f2e406f72802c0b21c2e8fd182 |
| stagit-index.c | +1 | -0 |
| stagit.c | +1 | -0 |
diff --git a/stagit-index.c b/stagit-index.c index ea8bc58..85efce6 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -66,6 +66,7 @@ writeheader(FILE *fp) fputs("<!DOCTYPE html>\n" "<html>\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" + "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n" "<title>", fp); xmlencode(fp, description, strlen(description)); fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath); diff --git a/stagit.c b/stagit.c index 8327ca3..de08e0b 100644 --- a/stagit.c +++ b/stagit.c @@ -344,6 +344,7 @@ writeheader(FILE *fp, const char *title) fputs("<!DOCTYPE html>\n" "<html>\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" + "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n" "<title>", fp); xmlencode(fp, title, strlen(title)); if (title[0] && strippedname[0])