add meta viewport for scaling on mobile
Patch by Augustin Fabre
1 files changed, 1 insertions(+), 0 deletions(-) | |||
---|---|---|---|
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])