blob: 56110b1b091d66d51145c10fb2656f15e9675bce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<div id="siteLogo" class="navbar__logo--wrapper">
{{ if $.Param "logo" | default true }}
<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">
</a>
{{ else }}
{{ end }}
{{ if ne .Site.Params.logoType "long" }}
<a href="{{ "/" | relLangURL }}" title="{{ i18n "tooltip-home" }}" rel="home" class="navbar__logo--text-link">
<h6 class="navbar__logo--text" data-bgimg="{{ if and ($.Params.landing.backgroundImage) $.IsHome }}true{{ else }}false{{ end }}">{{ .Site.Params.logoText }}</h6>
</a>
{{ end }}
</div>
|