# env['js_chunks']= '\n'.join(self.js_chunks)
# env['css_chunks']='\n'.join(self.css_chunks)
# return env
- # together with this in layout-myslice.html
+ # together with this in layout-unfold1.html
# {% for js_file in js_files %} {% insert_str prelude js_file %} {% endfor %}
# {% for css_file in css_files %} {% insert_str prelude css_file %} {% endfor %}
# somehow however this would not work too well,
from myslice.settings import STATIC_URL
env ['STATIC_URL'] = STATIC_URL
# render this with prelude.html and put the result in header_prelude
- header_prelude = render_to_string ('header-prelude.html',env)
+ header_prelude = render_to_string ('prelude.html',env)
return { 'header_prelude' : header_prelude }