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:
parent
e6e3215db1
commit
0b2e14056a
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user