aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2021-03-19 11:29:53 +0100
committerHiltjo Posthuma <[email protected]>2021-03-19 11:29:53 +0100
commit995f7d5c5d8e396b06e70b1497ac96df63ffec36 (patch)
tree58dadc000d369b4ca220dd162ea88d773ab62509
parentf46405850133e43dcae95e0a41b74bcca7b10027 (diff)
downloadstagit-995f7d5c5d8e396b06e70b1497ac96df63ffec36.tar.gz
stagit-995f7d5c5d8e396b06e70b1497ac96df63ffec36.zip
add meta viewport on stagit-index too
Patch by Oscar Benedito, thanks!
-rw-r--r--stagit-index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stagit-index.c b/stagit-index.c
index 5cf9053..11a6017 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);