X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=templates%2Flayout-myslice.html;h=855e4aadb1aeb4d237e5c528d91550f9a0bb9d6f;hb=3304e91dc8512f723a80b0b4c26b3b910218363c;hp=106fa141ddf406220c5e47c2f3c7d50d4b4a46c2;hpb=ebd8f2a12cf7d63c735d4f7dc3f51620913fabfa;p=unfold.git diff --git a/templates/layout-myslice.html b/templates/layout-myslice.html index 106fa141..855e4aad 100644 --- a/templates/layout-myslice.html +++ b/templates/layout-myslice.html @@ -6,23 +6,29 @@ {# This is where insert_str will end up #} {% media_container prelude %} -{% 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 #} +{# 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_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 %}