mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Don't name a variable like the macro it's in, Jinja 2.1 doesn't like it.
This commit is contained in:
parent
ae4099e79c
commit
5302829443
@ -48,8 +48,8 @@
|
||||
{%- endblock %}
|
||||
{%- if sidebars %}
|
||||
{#- new style sidebar: explicitly include/exclude templates #}
|
||||
{%- for sidebar in sidebars %}
|
||||
{%- include sidebar %}
|
||||
{%- for sidebartemplate in sidebars %}
|
||||
{%- include sidebartemplate %}
|
||||
{%- endfor %}
|
||||
{%- else %}
|
||||
{#- old style sidebars: using blocks -- should be deprecated #}
|
||||
|
Loading…
Reference in New Issue
Block a user