From 85c498951f976c9cd98b0112baa9e98f2f22dfd9 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Thu, 5 Mar 2020 11:35:35 +0100 Subject: [PATCH] Fixed icon logo in navigation --- src/partials/nav.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }}