1 {# This is required by insert_above #}
3 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
5 <title> MySlice - slice page with python var foo = {{ foo|default:"foo is undefined"}} </title>
6 {# This is where insert_str will end up #}
7 {% media_container prelude %}
8 {% insert_str prelude "jquery/jquery.js" %}
9 {% insert_str prelude "bootstrap/js/bootstrap.js" %}
10 {% insert_str prelude "bootstrap/css/bootstrap.css" %}
11 <script type="text/javascript">
12 {# In case we need to add raw js code - use {% insert prelude_js %} ... {% endinsert %} #}
13 {% container prelude_js %}
15 <style type="text/css">
16 {# In case we need to add raw css code #}
17 {% container prelude_css %}
21 {# let's add this one no matter what #}
22 {% insert_str prelude "css/myslice.css" %}
23 {% insert_str prelude "css/miscell.css" %}
25 <body data-spy='"scroll" data-target=".foo">
32 <a id='menu_logo' href="/"><img class="logo" src="{{ STATIC_URL }}img/myslice-logo.png" alt="MySlice" /></a>
33 {% include 'mymenu.html' %}
37 <div id='content-main'>
38 {% block content_main %}
39 "The main content area (set block 'content_main')"
40 {% endblock content_main %}
43 <div id='content-related'>
44 {% block content_related %}
45 "The related content area (set block 'related_main')"
46 {% endblock content_related %}
50 {% endblock container %}