<title> MySlice - slice page with python var foo = {{ foo|default:"foo is undefined"}} </title>
{# This is where insert_str will end up #}
{% media_container prelude %}
+{% insert_str prelude "jquery/jquery.js" %}
+{% insert_str prelude "bootstrap/js/bootstrap.js" %}
+{% insert_str prelude "bootstrap/css/bootstrap.css" %}
<script type="text/javascript">
-{# In case we need to add raw js code #}
-{% container raw_js %}
+{# In case we need to add raw js code - use {% insert prelude_js %} ... {% endinsert %} #}
+{% container prelude_js %}
</script>
<style type="text/css">
{# In case we need to add raw css code #}
-{% container raw_css %}
+{% container prelude_css %}
</style>
</head>
{% insert_str prelude "css/myslice.css" %}
{% insert_str prelude "css/miscell.css" %}
-<body>
+<body data-spy='"scroll" data-target=".foo">
{% block container %}
<div id='container'>
<div id='header'>
{% block header %}
+ <a id='menu_logo' href="/"><img class="logo" src="{{ STATIC_URL }}img/myslice-logo.png" alt="MySlice" /></a>
{% include 'mymenu.html' %}
{% endblock header %}
</div>
- {% block column_wrap %}
- <div id='column-wrap'>
<div id='content-main'>
{% block content_main %}
"The main content area (set block 'content_main')"
"The related content area (set block 'related_main')"
{% endblock content_related %}
</div>
- </div>
- {% endblock column_wrap %}
</div>
{% endblock container %}