X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=templates%2Flayout-myslice.html;h=22309baa81d237cea7126fca758965d0c1dd4e9c;hb=985978a2997ccca12e1f6c545d2c4b755a795384;hp=3a9cba2adf54c8d08ec8820f629a49bc9d9c7c25;hpb=4cbfed0032bfb74c91f7dc6c8e47e75f526c7176;p=unfold.git diff --git a/templates/layout-myslice.html b/templates/layout-myslice.html index 3a9cba2a..22309baa 100644 --- a/templates/layout-myslice.html +++ b/templates/layout-myslice.html @@ -1,38 +1,23 @@ -{# This is required by insert_above #} -{% insert_handler %} +{# This is required by insert_above #}{% insert_handler %} - MySlice - slice page with python var foo = {{ foo|default:"foo is undefined"}} + MySlice - {{ title }} -{# This is where insert_str will end up #} -{% media_container prelude %} +{# This is where insert_str will end up #}{% media_container prelude %} + + +{{ header_prelude }} +{# let's add these ones no matter what #} {% insert_str prelude "jquery/js/jquery.js" %} -{% insert_str prelude "bootstrap/js/bootstrap.js" %} -{% insert_str prelude "bootstrap/css/bootstrap.css" %} -{% insert_str prelude "js/plugin.js" %} - - - - -{# let's add this one no matter what #} +{% insert prelude_js %} "jQuery.noConflict();" {% endinsert %} +{% insert_str prelude "js/plugin-init.js" %} {% insert_str prelude "css/myslice.css" %} - - {% block container %}
- - {% block topmenu %} {% include 'widget-topmenu.html' %} {% endblock topmenu %} -
@@ -40,7 +25,6 @@ "The main content area (define block 'content_main')" {% endblock content_main %}
-
{% endblock container %} -