main
1<!DOCTYPE html>
2<html lang="{{ .Site.Language.Locale }}">
3
4<head>
5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 {{- partial "favicon.html" . -}}
8 <title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
9
10 {{- partial "seo_tags.html" . -}}
11 <meta name="referrer" content="no-referrer-when-downgrade" />
12
13 {{ with .OutputFormats.Get "rss" -}}
14 {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
15 {{ end -}}
16
17 {{ $css := resources.Get "style.css" | minify | resources.Fingerprint site.Params.digest }}
18 <link type=text/css rel=stylesheet href={{ $css.RelPermalink }} integrity={{ $css.Data.Integrity }} >
19
20 <!-- A partial to be overwritten by the user.
21 Simply place a custom_head.html into
22 your local /layouts/partials-directory -->
23 {{- partial "custom_head.html" . -}}
24</head>
25
26<body>
27 <header>
28 {{- partial "header.html" . -}}
29 </header>
30 <main>
31 {{- block "main" . }}{{- end }}
32 </main>
33 <footer>
34 {{- partial "footer.html" . -}}
35 </footer>
36
37 <!-- A partial to be overwritten by the user.
38 Simply place a custom_body.html into
39 your local /layouts/partials-directory -->
40 {{- partial "custom_body.html" . -}}
41</body>
42
43</html>