diff --git a/src/partials/nav.html b/src/partials/nav.html index 95141fbd7..a9fed2342 100644 --- a/src/partials/nav.html +++ b/src/partials/nav.html @@ -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 %} logo + {% else %} + {% include ".icons/" ~ config.theme.icon.logo ~ ".svg" %} {% endif %} {{ config.site_name }}