fix prelude/requirements system
[unfold.git] / templates / layout-myslice.html
index 855e4aa..f8cdc10 100644 (file)
@@ -9,13 +9,12 @@
 <script type="text/javascript">
 {# In case we need to add raw js code - use {% insert prelude_js %} ... {% endinsert %} #}
 {% container prelude_js %}
-{{ js_chunks }}
 </script>
 <style type="text/css">
 {# In case we need to add raw css code #}
 {% container prelude_css %}
-{{ css_chunks }}
 </style>
+{{ header_prelude }}
 </head>
 
 {# let's add these ones no matter what #}
 {% 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 %}
-
 <body>
 
 {% block container %}