diff options
| -rw-r--r-- | templates/generic_page.html | 2 | ||||
| -rw-r--r-- | templates/index.html | 3 | ||||
| -rw-r--r-- | templates/page.html | 2 | ||||
| -rw-r--r-- | templates/thread.html | 2 |
4 files changed, 8 insertions, 1 deletions
diff --git a/templates/generic_page.html b/templates/generic_page.html index 965cbc2c..3ff200f9 100644 --- a/templates/generic_page.html +++ b/templates/generic_page.html @@ -6,6 +6,8 @@ <title>{{ board.url }} - {{ board.name }}</title> {% endblock %} </head> +<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> + <body> {{ boardlist.top }} {% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %} diff --git a/templates/index.html b/templates/index.html index 2771026d..1878d455 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,8 @@ <html> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> + <script type="text/javascript"> {% if not no_post_form %} var active_page = "index"; diff --git a/templates/page.html b/templates/page.html index cb35d76a..7c0ccb09 100644 --- a/templates/page.html +++ b/templates/page.html @@ -2,6 +2,8 @@ <html> <head> <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> + <script type="text/javascript"> active_page = "page"; </script> diff --git a/templates/thread.html b/templates/thread.html index e0ea1e07..62fe2c12 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -2,6 +2,8 @@ <html> <head> <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> + <script type="text/javascript"> var active_page = "thread"; |
