changeset 2946:5c248fd84040

add viewport meta to base.html, remove from basic layout.html
author RogerHaase <haaserd@gmail.com>
date Fri, 29 May 2015 08:20:42 -0700
parents 72c5a7d688b5
children c155156148e4
files MoinMoin/templates/base.html MoinMoin/themes/basic/templates/layout.html
diffstat 2 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/base.html	Sun May 10 14:05:56 2015 -0700
+++ b/MoinMoin/templates/base.html	Fri May 29 08:20:42 2015 -0700
@@ -15,6 +15,7 @@
         {% block head %}
             {% block head_meta %}
                 <meta charset="utf-8" />{# must be at the beginning #}
+                <meta name="viewport" content="width=device-width, initial-scale=1" />
                 {% if pi_refresh -%}
                     {{ '<meta http-equiv="refresh" content="%d;URL=%s" />' % pi_refresh }}
                 {%- endif %}
--- a/MoinMoin/themes/basic/templates/layout.html	Sun May 10 14:05:56 2015 -0700
+++ b/MoinMoin/themes/basic/templates/layout.html	Fri May 29 08:20:42 2015 -0700
@@ -67,12 +67,6 @@
     </div>
 {% endmacro %}
 
-
-{% block head_meta %}
-    {{ super() }}
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-{% endblock %}
-
 {% block layout %}
     <div class="container-fluid">
         <div id="moin-main-wrapper" class="row">