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 %}
|
{%- 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 #}
|
||||||
|
Loading…
Reference in New Issue
Block a user