and in layout.html:
>
> <section id="main" class="main row">
> {{if left_sidebar_enabled:}}
> <br>
> <br>
> <div class="span2 left-sidebar offset1">
> <!-- <div class="headerDivider"></div> -->
>
> {{include 'sidebar.html'}}
>
In layout.html you include sidebar.html, but then in sidebar.html, you
extend layout.html. So, when layout.html includes sidebar.html, it then
extends itself, which again includes sidebar.html, which again extends
layout.html, and so on -- recursion. Just remove the {{extends
'layout.html'}} from sidebar.html -- you don't need it. When the index()
function is called, the index.html view will be rendered. It will then
extend layout, which will then include sidebar.html. That should be all you
need.
Anthony
--