53 lines
2.4 KiB
HTML
53 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
|
|
{{ partialCached "copying.html" . }}
|
|
|
|
<html itemscope itemtype="https://schema.org/WebSite">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, intitial-scale=1">
|
|
<meta name="robots" content="noindex">
|
|
<!--<meta http-equiv="Content-Security-Policy" content="default-src 'self'">-->
|
|
<meta name="theme-color" content="#FFFFF0">
|
|
<meta name="description" content="{{ block "head-description" . }}{{ $.Site.Params.description | html }}{{ end }}">
|
|
<meta name="twitter:dnt" content="on">
|
|
|
|
<title itemprop="name">{{- block "title" . -}}{{- .Site.Title }} | {{ .Site.Params.tagline -}}{{- end -}}</title>
|
|
|
|
<link rel="license" href="{{ block "head-license" . }}https://creativecommons.org/publicdomain/zero/1.0/{{ end }}">
|
|
<link rel="me" href="mailto:me+bg@bengoldsworthy.net">
|
|
<link rel="icon" sizes="192x192" href="/images/icon.png">
|
|
{{ with .OutputFormats.Get "rss" }}<link rel="{{ .Rel }}" type="{{ .MediaType.Type | html }}" href="{{ .RelPermalink }}" title="{{ $.Site.Title | safeHTML }}" />{{ end }}
|
|
|
|
<link href="/css/sanitize.css" rel="stylesheet" />
|
|
{{- $sass := resources.Get "css/main.scss" }}
|
|
{{- $style := $sass | css.Sass | resources.Fingerprint }}
|
|
<link rel="stylesheet" type="text/css" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity | html }}">
|
|
|
|
</head>
|
|
|
|
<body class="site-container site-container{{ block "main-class" . }}{{ end }}">
|
|
{{ block "header" . -}}
|
|
{{- partialCached "header/site-header.html" . -}}
|
|
{{- end }}
|
|
|
|
<main class="site-content site-content{{ block "main-class" . }}{{ end }}" itemscope itemtype="{{ block "main-type" . }}https://schema.org/Thing{{ end }}">
|
|
{{ block "main-header" . }}{{ end }}
|
|
{{ block "main-body" . }}{{ end }}
|
|
{{ block "main-footer" . }}{{ end }}
|
|
</main>
|
|
|
|
{{- block "footer" . -}}
|
|
<footer class="site-footer">
|
|
<p>
|
|
By <a href="/">{{ $.Site.Author.name }}</a> |
|
|
<a href="{{ $.Site.Params.codeURL }}{{ $.Site.Params.reportIssueURL }}" target="_blank" rel="noopener noreferrer">Report an Issue</a> |
|
|
<a href="{{ relref . "privacy-policy" }}">Privacy Policy</a> |
|
|
<a href="/{{ .Sitemap.Filename }}">Sitemap</a> |
|
|
Built: {{ now.Format "2006-01-02T15:04:05" }}
|
|
</p>
|
|
</footer>
|
|
{{- end -}}
|
|
</body>
|
|
|
|
</html>
|