add spacing only when the logo is disabled
This commit is contained in:
parent
0b3746147e
commit
372bdf38c7
|
@ -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 }}
|
||||||
|
|
||||||
{{ 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">
|
||||||
|
|
Loading…
Reference in New Issue