projects
/
forks
/
stagit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f464058
)
add meta viewport on stagit-index too
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 19 Mar 2021 10:29:53 +0000
(11:29 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 19 Mar 2021 10:29:53 +0000
(11:29 +0100)
Patch by Oscar Benedito, thanks!
stagit-index.c
patch
|
blob
|
history
diff --git
a/stagit-index.c
b/stagit-index.c
index 5cf905386de9e356999b6ef3542115cb841ba707..11a6017f4f86a2e1e74814548c09ec894d909398 100644
(file)
--- 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);