add spacing only when the logo is disabled

This commit is contained in:
Nishant Srivastava 2020-01-13 02:08:14 +01:00
parent 0b3746147e
commit 372bdf38c7
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
<a href="{{ "/" | relLangURL }}" title="{{ i18n "tooltip-home" }}" rel="home" class="{{ if eq ($.Param "logoType") "long" }}navbar__long-link{{ else }}navbar__logo-link{{ end }}"> <a href="{{ "/" | relLangURL }}" title="{{ i18n "tooltip-home" }}" rel="home" class="{{ if eq ($.Param "logoType") "long" }}navbar__long-link{{ else }}navbar__logo-link{{ end }}">
<img src="{{ "/logo.png" | relURL }}" alt="Home" class="navbar__logo"> <img src="{{ "/logo.png" | relURL }}" alt="Home" class="navbar__logo">
</a> </a>
{{ else }}
&nbsp;&nbsp;
{{ end }} {{ end }}
{{ if ne .Site.Params.logoType "long" }} {{ if ne .Site.Params.logoType "long" }}
<a href="{{ "/" | relLangURL }}" title="{{ i18n "tooltip-home" }}" rel="home" class="navbar__title-link"> <a href="{{ "/" | relLangURL }}" title="{{ i18n "tooltip-home" }}" rel="home" class="navbar__title-link">