X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=templates%2Flayout-myslice.html;h=800b4b00bf9923aa030acb384974353db2882768;hb=9913041d5c2f410547dc4538f2f92353eb8dc308;hp=855e4aadb1aeb4d237e5c528d91550f9a0bb9d6f;hpb=3304e91dc8512f723a80b0b4c26b3b910218363c;p=unfold.git diff --git a/templates/layout-myslice.html b/templates/layout-myslice.html index 855e4aad..800b4b00 100644 --- a/templates/layout-myslice.html +++ b/templates/layout-myslice.html @@ -1,44 +1,23 @@ -{# This is required by insert_above #} -{% insert_handler %} +{# This is required by insert_above #}{% insert_handler %} MySlice - {{ title }} -{# This is where insert_str will end up #} -{% media_container prelude %} - - - - -{# let's add these ones no matter what #} +{# 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" %} +{% insert prelude_js %} "var _$_=jQuery.noConflict();" {% endinsert %} +{% insert_str prelude "js/plugin_init.js" %} {% insert_str prelude "css/myslice.css" %} - -{# also add the stuff as collected in a Prelude class #} -{% for js_file in js_files %} {% insert_str prelude js_file %} {% endfor %} -{% for css_file in css_files %} {% insert_str prelude css_file %} {% endfor %} - - {% block container %}
- - {% block topmenu %} {% include 'widget-topmenu.html' %} {% endblock topmenu %} -
@@ -46,7 +25,6 @@ "The main content area (define block 'content_main')" {% endblock content_main %}
-
{% endblock container %} -