2021-10-10 10:31:57 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ site.LanguageCode }}">
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
|
2022-09-03 15:30:38 -07:00
|
|
|
<body>
|
|
|
|
{{ block "body" . }}
|
|
|
|
{{ block "header" . }}{{ end }}
|
2022-10-19 07:36:32 -07:00
|
|
|
<main class="{{ .Type }} {{ .Kind }}{{ if gt (len .Pages) 0 }} list{{ end }}">
|
2021-12-26 12:43:26 -07:00
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</main>
|
2022-09-07 08:44:52 -07:00
|
|
|
{{ partial "development/page_info.html" . }}
|
2022-09-03 15:30:38 -07:00
|
|
|
{{ block "footer" . }}{{ end }}
|
|
|
|
{{ end }}
|
2021-10-10 10:31:57 -07:00
|
|
|
</body>
|
2022-03-25 23:21:43 -07:00
|
|
|
|
2022-11-07 08:36:39 -08:00
|
|
|
{{- $rootCSS := resources.Get "styles/root.css"
|
|
|
|
| resources.ExecuteAsTemplate "root.css" .
|
|
|
|
| resources.Fingerprint "sha512" -}}
|
|
|
|
<link rel="stylesheet" as="style" href="{{ $rootCSS.RelPermalink }}" integrity="{{ $rootCSS.Data.Integrity }}">
|
|
|
|
{{ if not hugo.IsProduction }}
|
|
|
|
<link rel="stylesheet" as="style" href="{{ `/styles/development.css` | relURL }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ with partial "secure_asset.html" (printf "styles/%s.css" .Section) }}
|
|
|
|
<link rel="stylesheet" as="style" href="{{ .Secure.RelPermalink }}" integrity="{{ .Secure.Data.Integrity }}">
|
|
|
|
{{ end }}
|
|
|
|
{{ range .Resources.Match "*.css" }}
|
|
|
|
<link rel="stylesheet" as="style" href="{{ .RelPermalink }}">
|
|
|
|
{{ end }}
|
2022-08-27 10:09:55 -07:00
|
|
|
|
2022-10-19 07:36:18 -07:00
|
|
|
{{ block "styles" . }}{{ end }}
|
2022-09-03 15:30:38 -07:00
|
|
|
{{ block "scripts" . }}{{ end }}
|
2022-08-27 10:09:55 -07:00
|
|
|
|
2022-11-07 08:36:39 -08:00
|
|
|
{{ $concatenatedSiteScript := resources.Get "scripts/site.js"
|
|
|
|
| resources.Fingerprint "sha512" }}
|
|
|
|
<script type="module" src="{{ $concatenatedSiteScript.Permalink }}" integrity="{{ $concatenatedSiteScript.Data.Integrity }}"></script>
|
2021-10-10 10:31:57 -07:00
|
|
|
</html>
|