stagit

custom fork of stagit
Index Commits Files Refs README LICENSE
commit 995f7d5c5d8e396b06e70b1497ac96df63ffec36
parent f46405850133e43dcae95e0a41b74bcca7b10027
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 19 Mar 2021 11:29:53 +0100

add meta viewport on stagit-index too

Patch by Oscar Benedito, thanks!

Diffstat:
Mstagit-index.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);