blob: cfe61097d6b37766d8e1b4806fd3a6227f33e7de (
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="/" class="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="/" class="logo 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 }}
|