Add meta viewport tag
authorBernie Innocenti <codewiz@google.com>
Sat, 27 Oct 2018 21:58:28 +0000 (06:58 +0900)
committerBernie Innocenti <codewiz@google.com>
Sat, 27 Oct 2018 21:58:28 +0000 (06:58 +0900)
geekigeeki.py

index 9c97fe6eda952fd1ffcf660762726138fdbd9dc6..4cb7b43c018c39e109b52fe50cdf4372f38d9b55 100755 (executable)
@@ -647,6 +647,7 @@ class Page:
         print('<!doctype html>\n<html lang="en">')
         print("<head><title>%s: %s</title>" % (config_get('site_name', "Unconfigured Wiki"), text))
         print(' <meta charset="utf-8">')
+        print(' <meta name="viewport" content="width=device-width, initial-scale=1.0">')
         if not name:
             print(' <meta name="robots" content="noindex,nofollow" />')