File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
src/sphinx_breeze_theme/theme/breeze/sections Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11---
2- html_theme.sidebar_secondary.remove : true
2+ hide-sidebar-secondary : true
33---
44
55# Sphinx Breeze Theme
Original file line number Diff line number Diff line change 44 {% endfor %}
55{% endset %}
66
7- {%- if sidebar_content|trim -%}
7+ {%- if sidebar_content|trim and (not meta or "hide-sidebar-primary" not in meta) -%}
88< aside class ="bz-sidebar-primary " data-drawer ="bz-sidebar-primary ">
99 {{ sidebar_content }}
1010</ aside >
Original file line number Diff line number Diff line change 1- {% set remove_sidebar_secondary = meta is defined and meta is not none and 'html_theme.sidebar_secondary.remove' in meta %}
2-
31{% set sidebar_content %}
42 {% for tmpl in theme_sidebar_secondary or [] %}
53 {% include tmpl %}
64 {% endfor %}
75{% endset %}
86
9- {%- if sidebar_content|trim and not remove_sidebar_secondary -%}
7+ {%- if sidebar_content|trim and ( not meta or "hide-sidebar-secondary" not in meta) -%}
108< aside class ="bz-sidebar-secondary " data-drawer ="bz-sidebar-secondary ">
119 {{ sidebar_content }}
1210</ aside >
You can’t perform that action at this time.
0 commit comments