stagit
static git repository generator
git clone https://9o.is/git/stagit.git
commit be00da95e6de1d7c522477d4daa0291dbb395996 parent e2443d2174b3f6270ea7dddfecb6e35e10743613 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 15 Nov 2020 21:11:46 +0100 add meta viewport for scaling on mobile Patch by Augustin Fabre <augustin@augfab.fr> Diffstat:
| M | stagit.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/stagit.c b/stagit.c @@ -449,6 +449,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])