Documentation

This commit is contained in:
squidfunk 2023-08-21 18:14:08 +02:00
parent ce19ed3b46
commit ee537b5cc7
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
4 changed files with 4 additions and 2 deletions

View File

@ -100,7 +100,7 @@ assets may also be put in the `overrides` directory:
│ │ └─ analytics.html # Analytics setup
│ ├─ languages/ # Translation languages
│ ├─ actions.html # Actions
│ ├─ alternate.html # Translation language selector
│ ├─ alternate.html # Site language selector
│ ├─ comments.html # Comment system (empty by default)
│ ├─ consent.html # Consent
│ ├─ content.html # Page content

View File

@ -20,6 +20,7 @@
IN THE SOFTWARE.
-->
<!-- Site language selector -->
<div class="md-header__option">
<div class="md-select">
{% set icon = config.theme.icon.alternate or "material/translate" %}

View File

@ -72,7 +72,7 @@
</div>
</div>
<!-- Color palette -->
<!-- Color palette toggle -->
{% if config.theme.palette %}
{% if not config.theme.palette is mapping %}
{% include "partials/palette.html" %}

View File

@ -20,6 +20,7 @@
IN THE SOFTWARE.
-->
<!-- Color palette toggle -->
<form class="md-header__option" data-md-component="palette">
{% for option in config.theme.palette %}
{% set scheme = option.scheme | d("default", true) %}