Commits

Georg Brandl committed ed153fe

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

Comments (0)

Files changed (1)

sphinx/themes/basic/layout.html

           {%- 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 #}