1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +01:00

Renamed internal icon reference for language selector

This commit is contained in:
squidfunk 2021-02-23 10:34:01 +01:00
parent e6e3215db1
commit 0b2e14056a
3 changed files with 3 additions and 3 deletions

View File

@ -260,7 +260,7 @@ matches the new structure:
+ <div class="md-header__options">
+ {% if config.extra.alternate %}
+ <div class="md-select">
+ {% set icon = config.theme.icon.translate or "material/translate" %}
+ {% set icon = config.theme.icon.alternate or "material/translate" %}
+ <span class="md-header__button md-icon">
+ {% include ".icons/" ~ icon ~ ".svg" %}
+ </span>

View File

@ -34,7 +34,7 @@
<div class="md-header__options">
{% if config.extra.alternate %}
<div class="md-select">
{% set icon = config.theme.icon.translate or "material/translate" %}
{% set icon = config.theme.icon.alternate or "material/translate" %}
<span class="md-header__button md-icon">
{% include ".icons/" ~ icon ~ ".svg" %}
</span>

View File

@ -74,7 +74,7 @@
<!-- Switch to toggle language -->
{% if config.extra.alternate %}
<div class="md-select">
{% set icon = config.theme.icon.translate or "material/translate" %}
{% set icon = config.theme.icon.alternate or "material/translate" %}
<span class="md-header__button md-icon">
{% include ".icons/" ~ icon ~ ".svg" %}
</span>