mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Documentation
This commit is contained in:
parent
ce19ed3b46
commit
ee537b5cc7
@ -100,7 +100,7 @@ assets may also be put in the `overrides` directory:
|
|||||||
│ │ └─ analytics.html # Analytics setup
|
│ │ └─ analytics.html # Analytics setup
|
||||||
│ ├─ languages/ # Translation languages
|
│ ├─ languages/ # Translation languages
|
||||||
│ ├─ actions.html # Actions
|
│ ├─ actions.html # Actions
|
||||||
│ ├─ alternate.html # Translation language selector
|
│ ├─ alternate.html # Site language selector
|
||||||
│ ├─ comments.html # Comment system (empty by default)
|
│ ├─ comments.html # Comment system (empty by default)
|
||||||
│ ├─ consent.html # Consent
|
│ ├─ consent.html # Consent
|
||||||
│ ├─ content.html # Page content
|
│ ├─ content.html # Page content
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
IN THE SOFTWARE.
|
IN THE SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!-- Site language selector -->
|
||||||
<div class="md-header__option">
|
<div class="md-header__option">
|
||||||
<div class="md-select">
|
<div class="md-select">
|
||||||
{% set icon = config.theme.icon.alternate or "material/translate" %}
|
{% set icon = config.theme.icon.alternate or "material/translate" %}
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Color palette -->
|
<!-- Color palette toggle -->
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% if not config.theme.palette is mapping %}
|
{% if not config.theme.palette is mapping %}
|
||||||
{% include "partials/palette.html" %}
|
{% include "partials/palette.html" %}
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
IN THE SOFTWARE.
|
IN THE SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!-- Color palette toggle -->
|
||||||
<form class="md-header__option" data-md-component="palette">
|
<form class="md-header__option" data-md-component="palette">
|
||||||
{% for option in config.theme.palette %}
|
{% for option in config.theme.palette %}
|
||||||
{% set scheme = option.scheme | d("default", true) %}
|
{% set scheme = option.scheme | d("default", true) %}
|
||||||
|
Loading…
Reference in New Issue
Block a user