Allow disabling sidebar

This commit is contained in:
pikim 2023-01-19 22:32:22 +01:00
parent 0a06ae94fc
commit 0cd5ea1b28
3 changed files with 8 additions and 2 deletions

View file

@ -55,7 +55,9 @@
{% endblock %}
{% block sidebar %}
{% include 'partials/sidebar_left.html.twig' %}
{% if theme_config.sidebar == true %}
{% include 'partials/sidebar_left.html.twig' %}
{% endif %}
{% endblock %}
{% endembed %}

View file

@ -28,7 +28,9 @@
{% endblock %}
{% block sidebar %}
{% include 'partials/sidebar_left.html.twig' %}
{% if theme_config.sidebar == true %}
{% include 'partials/sidebar_left.html.twig' %}
{% endif %}
{% endblock %}

View file

@ -38,5 +38,7 @@
{% endblock %}
{% block sidebar %}
{% if theme_config.sidebar == true %}
{% include 'partials/sidebar_left.html.twig' %}
{% endif %}
{% endblock %}