commit a4ca730e892d29a8fa91a595c42860e88cf67558
parent 26d169681c44e1189769087074d7b9f15a665c20
Author: Demonstrandum <moi@knutsen.co>
Date: Sun, 5 Jul 2020 16:04:38 +0100
Make website more mobile friendly.
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,4 @@
+# Generated files
+*.o
+*.so
+*.out
diff --git a/stagit.c b/stagit.c
@@ -344,6 +344,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.0\" />\n"
"<title>", fp);
xmlencode(fp, title, strlen(title));
if (title[0] && strippedname[0])