aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/debug_footer.html2
-rw-r--r--templates/web/default/debug_header.html2
-rw-r--r--templates/web/default/header.html7
3 files changed, 9 insertions, 2 deletions
diff --git a/templates/web/default/debug_footer.html b/templates/web/default/debug_footer.html
index ffb3abbab..a1b7fc155 100644
--- a/templates/web/default/debug_footer.html
+++ b/templates/web/default/debug_footer.html
@@ -1,4 +1,4 @@
-[% IF c.config.STAGING_SITE %]
+[% IF c.config.STAGING_SITE and c.config.SHOW_DEBUG %]
<hr style="clear: both;">
diff --git a/templates/web/default/debug_header.html b/templates/web/default/debug_header.html
index 1468d171c..92ccbc357 100644
--- a/templates/web/default/debug_header.html
+++ b/templates/web/default/debug_header.html
@@ -1,4 +1,4 @@
-[% IF c.config.STAGING_SITE %]
+[% IF c.config.STAGING_SITE and c.config.SHOW_DEBUG %]
<p class="dev-site-notice">
[% loc("This is a developer site; things might break at any time, and the database will be periodically deleted.") %]
</p>
diff --git a/templates/web/default/header.html b/templates/web/default/header.html
index c39aa11a8..08786961d 100644
--- a/templates/web/default/header.html
+++ b/templates/web/default/header.html
@@ -5,6 +5,13 @@
<!--[if gt IE 8]><!--><html lang="[% lang_code %]"><!--<![endif]-->
<head>
+ <meta name="viewport" content="initial-scale=1.0">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
+ <meta name="HandHeldFriendly" content="true">
+ <meta name="mobileoptimized" content="0">
+
<link rel="stylesheet" type="text/css" href="[% version('/css/core.css') %]">
<link rel="stylesheet" type="text/css" href="[% version('/css/main.css') %]">