git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix prelude/requirements system
[unfold.git]
/
templates
/
layout-myslice.html
diff --git
a/templates/layout-myslice.html
b/templates/layout-myslice.html
index
855e4aa
..
f8cdc10
100644
(file)
--- a/
templates/layout-myslice.html
+++ b/
templates/layout-myslice.html
@@
-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 %}
<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 %}
</script>
<style type="text/css">
{# In case we need to add raw css code #}
{% container prelude_css %}
-{{ css_chunks }}
</style>
</style>
+{{ header_prelude }}
</head>
{# let's add these ones no matter what #}
</head>
{# let's add these ones no matter what #}
@@
-25,10
+24,6
@@
{% insert_str prelude "js/plugin.js" %}
{% insert_str prelude "css/myslice.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 %}
-
<body>
{% block container %}
<body>
{% block container %}