mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
a6a37ab9d0
* Improved warning in social plugin about site_url * Documentation * Documentation * Extract header options into partials --------- Co-authored-by: squidfunk <martin.donath@squidfunk.com>
23 lines
718 B
HTML
23 lines
718 B
HTML
{#-
|
|
This file was automatically generated - do not edit
|
|
-#}
|
|
<div class="md-header__option">
|
|
<div class="md-select">
|
|
{% set icon = config.theme.icon.alternate or "material/translate" %}
|
|
<button class="md-header__button md-icon" aria-label="{{ lang.t('select.language') }}">
|
|
{% include ".icons/" ~ icon ~ ".svg" %}
|
|
</button>
|
|
<div class="md-select__inner">
|
|
<ul class="md-select__list">
|
|
{% for alt in config.extra.alternate %}
|
|
<li class="md-select__item">
|
|
<a href="{{ alt.link | url }}" hreflang="{{ alt.lang }}" class="md-select__link">
|
|
{{ alt.name }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|