X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=templates%2Flayout-myslice.html;h=98c6f78994b00023aaae52ac054788c652bcf472;hb=6ee5cf51bf467560e4566b2b7bfa8e22dfff0784;hp=d3a7436b1713a3d48f7422b4792e50e575756c49;hpb=20028a8cc2b83ed3c8d98218958ebd34bc75f891;p=unfold.git diff --git a/templates/layout-myslice.html b/templates/layout-myslice.html index d3a7436b..98c6f789 100644 --- a/templates/layout-myslice.html +++ b/templates/layout-myslice.html @@ -1,51 +1,37 @@ -{# 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 %} - -
+
+ {% block topmenu %} + {% include 'widget-topmenu.html' %} + {% endblock topmenu %} +
+
+
{% block content_main %} - "The main content area (set block 'content_main')" + "The main content area (define block 'content_main')" {% endblock content_main %} -
- - + - -
+
+
+
{% endblock container %} -