Merge pull request #5201 from tk0miya/fix_classic_theme

Fix classic theme: collapsiblesidebar is always enabled
This commit is contained in:
Takeshi KOMIYA 2018-07-23 00:35:57 +09:00 committed by GitHub
commit ec800e9d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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