]> git.armaanb.net Git - stagit.git/blobdiff - stagit.c
Make website more mobile friendly.
[stagit.git] / stagit.c
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])