Docs improvements, allow setting more stuff outside of articles

This commit is contained in:
daudix
2024-09-08 23:50:20 +03:00
parent f244a2b57e
commit a84165fe3b
10 changed files with 134 additions and 70 deletions

View File

@ -122,7 +122,7 @@
{%- set scripts = scripts | concat(with=["theme-switcher.js"]) %}
{%- endif %}
{%- if config.show_theme_switcher or config.languages | length > 0 %}
{%- if config.extra.nav.links.sublinks or config.languages | length > 0 or config.extra.nav.show_theme_switcher %}
{%- set scripts = scripts | concat(with=["details.js"]) %}
{%- endif %}