blob: 3f58ad40a22285c29941bceda2a497d8a385fd0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{{ if .Site.Params.enableCustomHTML }}
{{ partial "custom/above-header" . }}
{{ end }}
{{ if .Site.Params.useLargeHeaderDesign }}
<div class="header header--large">
<div class="contain contain--more center">
<a href="{{ .Site.BaseURL }}" class="header__logo">
{{ if .Site.Params.useLogo }}
<img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}">
{{ else }}
<h1>{{ .Site.Title }}</h1>
{{ end }}
</a>
</div>
</div>
{{ else }}
<div class="header">
<div class="contain">
<a href="{{ .Site.BaseURL }}" class="header__logo header__logo--small">
{{ if .Site.Params.useLogo }}
<img src="{{ .Site.Params.logo }}" alt="{{ .Site.Title }}">
{{ else }}
<h1>{{ .Site.Title }}</h1>
{{ end }}
</a>
</div>
</div>
{{ end }}
{{ if .Site.Params.enableCustomHTML }}
{{ partial "custom/below-header" . }}
{{ end }}
|