]> git.armaanb.net Git - stagit.git/commitdiff
Make website more mobile friendly.
authorDemonstrandum <moi@knutsen.co>
Sun, 5 Jul 2020 15:04:38 +0000 (16:04 +0100)
committerDemonstrandum <moi@knutsen.co>
Sun, 5 Jul 2020 15:04:38 +0000 (16:04 +0100)
.gitignore [new file with mode: 0644]
stagit.c

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..89d4bc8
--- /dev/null
@@ -0,0 +1,4 @@
+# Generated files
+*.o
+*.so
+*.out
index 41b96a923372f3caaa3a2cf6a896d4073f5f54e3..e823fbaf7e99138549719da5129b31e7c8b963aa 100644 (file)
--- 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])