Omphaloskepsis-2/layouts/_default/baseof.html

157 lines
3.8 KiB
HTML
Raw Normal View History

2025-02-20 23:45:31 +01:00
<!doctype html>
2022-11-10 22:48:02 -07:00
{{ partialCached "copying.html" . }}
2025-02-20 23:45:31 +01:00
<html
class="h-card"
lang="en-gb"
itemscope
itemtype="https://schema.org/Blog"
>
2022-11-10 22:48:02 -07:00
<head>
2025-02-20 23:45:31 +01:00
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"
/>
<meta
name="robots"
content="noindex"
/>
<meta
name="theme-color"
content="#FFFFF0"
/>
<meta
name="description"
content="{{ block "head-description" . }}{{ $.Site.Params.description | html }}{{ end }}"
/>
<meta
name="twitter:dnt"
content="on"
/>
2025-01-05 17:28:25 +01:00
<title itemprop="name">
{{- block "title" . -}}
{{- .Site.Title -}}
{{- with .Site.Params.tagline -}}
{{- printf " | %s" . -}}
{{- end -}}
{{- end -}}
</title>
2025-02-20 23:45:31 +01:00
<link
rel="license"
href="{{ block "head-license" . }}https://creativecommons.org/publicdomain/zero/1.0/{{ end }}"
/>
<link
class="u-url u-uid"
rel="me"
href="{{ .Site.Home.Permalink }}"
/>
<link
class="u-email"
rel="me"
href="mailto:me+bg@bengoldsworthy.net"
/>
<link
class="u-url"
rel="me"
href="https://github.com/Rumperuu"
/>
<link
class="u-url"
rel="me"
href="https://news.ycombinator.com/user?id=Rumperuu"
/>
<link
class="u-logo"
rel="icon"
sizes="192x192"
href="/images/icon.png"
/>
{{- with .Site.Params.keyfile -}}
<link
class="u-key"
rel="author"
href="{{ . }}"
/>
2025-01-05 17:28:25 +01:00
{{- end -}}
2023-06-30 21:16:59 -06:00
2025-02-20 23:45:31 +01:00
<link
rel="canonical"
href="{{ .Permalink }}"
/>
2023-06-30 21:16:59 -06:00
2023-08-07 18:23:46 -04:00
{{ with .OutputFormats.Get "rss" -}}
2025-02-20 23:45:31 +01:00
<link
rel="{{ .Rel }}"
type="{{ .MediaType.Type | html }}"
href="{{ .RelPermalink }}"
title="{{ $.Site.Title | safeHTML }}"
/>
2023-08-07 18:23:46 -04:00
{{- end }}
2025-02-20 23:45:31 +01:00
<link
href="/css/sanitize.css"
rel="stylesheet"
/>
2023-08-07 18:23:46 -04:00
{{- $mainStylesheet := resources.Get "css/main.scss" }}
{{- $mainStylesheet := $mainStylesheet | css.Sass | resources.Fingerprint }}
2025-02-20 23:45:31 +01:00
<link
rel="stylesheet"
type="text/css"
href="{{ $mainStylesheet.Permalink }}"
integrity="{{ $mainStylesheet.Data.Integrity | html }}"
/>
2023-08-07 18:23:46 -04:00
{{- $printStylesheet := resources.Get "css/print.scss" }}
{{- $printStylesheet := $printStylesheet | css.Sass | resources.Fingerprint }}
2025-02-20 23:45:31 +01:00
<link
rel="stylesheet"
media="print"
href="{{ $printStylesheet.Permalink }}"
integrity="{{ $printStylesheet.Data.Integrity | html }}"
/>
2024-07-23 10:08:36 +02:00
{{- if .Param "math" -}}
{{- partialCached "math.html" . -}}
{{- end -}}
2023-06-30 21:16:59 -06:00
2022-11-10 22:48:02 -07:00
{{- block "header-scripts" . -}}<!-- -->{{- end -}}
2023-06-30 21:16:59 -06:00
{{- block "header-styles" . -}}<!-- -->{{- end -}}
2022-11-10 22:48:02 -07:00
</head>
2025-02-20 23:45:31 +01:00
<body class="site-container site-container{{ block "main-class" . }}layouts-default-baseof{{ end }}">
2022-11-10 22:48:02 -07:00
{{ block "header" . -}}
{{- partialCached "header/site-header.html" . -}}
{{- end }}
2025-02-20 23:45:31 +01:00
<article
class="{{ block "article-class" . }}h-entry{{ end }}site-content site-content{{ block "main-class" . }}{{ end }}"
itemscope
itemtype="https://schema.org/BlogPosting"
>
2022-11-10 22:48:02 -07:00
{{ block "main-header" . }}{{ end }}
{{ block "main-body" . }}{{ end }}
{{ block "main-footer" . }}{{ end }}
2023-06-30 21:16:59 -06:00
</article>
2025-02-20 23:45:31 +01:00
2022-11-10 22:48:02 -07:00
{{- block "footer" . -}}
2025-02-20 23:45:31 +01:00
<footer class="site-footer">
<p>
By <a href="/">{{ $.Site.Params.Author.name }}</a> |
<a href="{{ $.Site.Params.codeURL }}{{ $.Site.Params.reportIssueURL }}">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>
{{ block "footer-scripts" . }}<!-- -->{{ end }}
</footer>
2022-11-10 22:48:02 -07:00
{{- end -}}
</body>
2022-11-10 22:42:39 -07:00
</html>