X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=templates%2Flayout-myslice.html;h=98c6f78994b00023aaae52ac054788c652bcf472;hb=d654b14fa68a16c9c02646d0f7cb4c6c62217900;hp=3a9cba2adf54c8d08ec8820f629a49bc9d9c7c25;hpb=4cbfed0032bfb74c91f7dc6c8e47e75f526c7176;p=unfold.git diff --git a/templates/layout-myslice.html b/templates/layout-myslice.html index 3a9cba2a..98c6f789 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 %} -