changeset 2499:41032fd77822

Restricting serving bootstrap only for the basic theme
author sharky93 <rishabhr123@gmail.com>
date Sat, 21 Sep 2013 18:40:52 +0530
parents 82b1d312ae6e
children 1892e3bf7b21
files MoinMoin/templates/base.html MoinMoin/themes/basic/templates/layout.html
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/base.html	Sat Sep 21 11:56:07 2013 +0530
+++ b/MoinMoin/templates/base.html	Sat Sep 21 18:40:52 2013 +0530
@@ -43,7 +43,6 @@
     {% block head_links %}
 
     {% block bootstrap_stylesheet %}
-    <link rel="stylesheet" href="{{ url_for('serve.files', name='bootstrap', filename='css/bootstrap.css') }}" />
     {% endblock %}
 
     {% block icons_stylesheet %}
--- a/MoinMoin/themes/basic/templates/layout.html	Sat Sep 21 11:56:07 2013 +0530
+++ b/MoinMoin/themes/basic/templates/layout.html	Sat Sep 21 18:40:52 2013 +0530
@@ -37,11 +37,11 @@
 {% endmacro %}
 
 {% block bootstrap_stylesheet %}
+    <link media="all" rel="stylesheet" href="{{ theme_static('css/basic.css') }}" />
 {% endblock %}
 
 {% block head %}
     {{ super() }}
-    <link media="all" rel="stylesheet" href="{{ theme_static('css/basic.css') }}" />
     <link media="all" rel="stylesheet" href="{{ theme_static('css/custom.css') }}" />
 {% endblock %}