stagit

git site generator
Contents

add meta viewport for scaling on mobile

Patch by Augustin Fabre 

Hiltjo Posthuma hiltjo@codemadness.org

commit: 93d81c9 parent: 68c735d
1 files changed, 1 insertions(+), 0 deletions(-)
Mstagit.c+1-0
M · stagit.c +1, -0
1@@ -449,6 +449,7 @@ writeheader(FILE *fp, const char *title)
2 fputs("<!DOCTYPE
html>\n"
3
"<html>\n<head>\n"
4
"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"
/>\n"
5+ "<meta name=\"viewport\" content=\"width=device-width,
initial-scale=1\" />\n"
6 "<title>", fp);
7 xmlencode(fp,
title, strlen(title));
8 if (title[0]
&& strippedname[0])