mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed icon logo in navigation
This commit is contained in:
parent
ef3dc7fdc4
commit
85c498951f
@ -31,10 +31,10 @@
|
|||||||
aria-label="{{ config.site_name }}"
|
aria-label="{{ config.site_name }}"
|
||||||
class="md-nav__button md-logo"
|
class="md-nav__button md-logo"
|
||||||
>
|
>
|
||||||
{% if config.theme.logo.icon %}
|
{% if config.theme.logo %}
|
||||||
{% include ".icons/" ~ config.theme.logo.icon ~ ".svg" %}
|
|
||||||
{% else %}
|
|
||||||
<img src="{{ config.theme.logo | url }}" alt="logo" />
|
<img src="{{ config.theme.logo | url }}" alt="logo" />
|
||||||
|
{% else %}
|
||||||
|
{% include ".icons/" ~ config.theme.icon.logo ~ ".svg" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{{ config.site_name }}
|
{{ config.site_name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user