Fix classic theme: collapsiblesidebar is always enabled

This commit is contained in:
Takeshi KOMIYA 2018-07-22 00:03:17 +09:00
parent 85881897e0
commit fe3d4ddc20

View File

@ -9,9 +9,9 @@
#} #}
{%- extends "basic/layout.html" %} {%- extends "basic/layout.html" %}
{% if theme_collapsiblesidebar|tobool %}
{%- block scripts %} {%- block scripts %}
{{ super() }} {{ super() }}
{% if theme_collapsiblesidebar|tobool %}
<script type="text/javascript" src="{{ pathto('_static/sidebar.js', 1) }}"></script> <script type="text/javascript" src="{{ pathto('_static/sidebar.js', 1) }}"></script>
{% endif %}
{%- endblock %} {%- endblock %}
{% endif %}