Don't name a variable like the macro it's in, Jinja 2.1 doesn't like it.

This commit is contained in:
Georg Brandl 2010-01-08 18:47:15 +01:00
parent ae4099e79c
commit 5302829443

View File

@ -48,8 +48,8 @@
{%- endblock %} {%- endblock %}
{%- if sidebars %} {%- if sidebars %}
{#- new style sidebar: explicitly include/exclude templates #} {#- new style sidebar: explicitly include/exclude templates #}
{%- for sidebar in sidebars %} {%- for sidebartemplate in sidebars %}
{%- include sidebar %} {%- include sidebartemplate %}
{%- endfor %} {%- endfor %}
{%- else %} {%- else %}
{#- old style sidebars: using blocks -- should be deprecated #} {#- old style sidebars: using blocks -- should be deprecated #}