mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-30 17:46:21 -04:00
Fixed error when only setting a single icon
This commit is contained in:
@@ -36,7 +36,8 @@
|
||||
{% if config.theme.logo %}
|
||||
<img src="{{ config.theme.logo | url }}" alt="logo" />
|
||||
{% else %}
|
||||
{% include ".icons/" ~ config.theme.icon.logo ~ ".svg" %}
|
||||
{% set icon = config.theme.icon.logo or "material/library" %}
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
{% endif %}
|
||||
</a>
|
||||
<label
|
||||
|
||||
Reference in New Issue
Block a user