mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-04 19:45:08 -04:00
Fixed direction=None in base.html
This commit is contained in:
@@ -168,7 +168,7 @@
|
||||
</head>
|
||||
|
||||
<!-- Text direction and color palette, if defined -->
|
||||
{% set direction = config.theme.direction | default(lang.t('direction')) %}
|
||||
{% set direction = config.theme.direction or lang.t('direction') %}
|
||||
{% if palette.primary or palette.accent %}
|
||||
{% set primary = palette.primary | replace(" ", "-") | lower %}
|
||||
{% set accent = palette.accent | replace(" ", "-") | lower %}
|
||||
|
||||
Reference in New Issue
Block a user