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