X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=templates%2Flayout-myslice.html;h=98c6f78994b00023aaae52ac054788c652bcf472;hb=c01a656b95a478b4450c3ae2c1eb2fe6d73a0c04;hp=855e4aadb1aeb4d237e5c528d91550f9a0bb9d6f;hpb=3304e91dc8512f723a80b0b4c26b3b910218363c;p=unfold.git diff --git a/templates/layout-myslice.html b/templates/layout-myslice.html index 855e4aad..98c6f789 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 %} 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 %} -