Omphaloskepsis-2/layouts/_default/baseof.html

86 lines
2.4 KiB
HTML
Raw Normal View History

2025-06-04 17:45:38 +02: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>
<!-- Meta -->
{{- partialCached "head/meta.html" . -}}
2025-02-20 23:45:31 +01:00
<meta
2025-06-04 17:48:08 +02:00
name="description"
content="{{- block "head-description" . -}}{{- $.Site.Params.description | html -}}{{- end -}}"
2025-02-20 23:45:31 +01:00
/>
2025-06-04 17:48:08 +02:00
{{- block "title" . -}}
2025-06-04 17:44:11 +02:00
{{- partialCached "head/title.html" ( slice .Site.Title .Site.Params.tagline ) .Site.Title .Site.Params.tagline -}}
2025-06-04 17:48:08 +02:00
{{- end -}}
2025-06-04 17:45:38 +02:00
<!-- References -->
{{- partialCached "head/references.html" ( dict "sc" $ "pc" . ) -}}
2025-02-20 23:45:31 +01:00
<link
rel="canonical"
2025-06-04 17:45:38 +02:00
href="{{- .Permalink -}}"
2025-02-20 23:45:31 +01:00
/>
2025-06-04 17:45:38 +02: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 }}"
/>
2025-06-04 17:45:38 +02:00
{{- end -}}
2025-06-04 17:47:35 +02:00
<!-- Stylesheets -->
{{- partialCached "head/stylesheets.html" . -}}
<!-- Optional Includes -->
2024-07-23 10:08:36 +02:00
{{- if .Param "math" -}}
{{- partialCached "head/math.html" . -}}
2024-07-23 10:08:36 +02:00
{{- 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 }}">
2025-06-04 17:45:38 +02:00
{{- block "header" . -}}
2022-11-10 22:48:02 -07:00
{{- partialCached "header/site-header.html" . -}}
2025-06-04 17:45:38 +02:00
{{- 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">
2025-06-04 17:48:08 +02:00
{{-
partialCached
"footer/text.html"
( dict
"author_name" .Site.Params.Author.name
"report_issue_url" ( printf "%s%s" .Site.Params.codeURL .Site.Params.reportIssueURL )
"privacy_policy_url" ( relref . "privacy-policy" )
"sitemap_path" ( printf "/%s" .Sitemap.Filename )
"last_build_time" ( now.Format "2006-01-02T15:04:05" )
)
-}}
2025-02-20 23:45:31 +01:00
{{ block "footer-scripts" . }}<!-- -->{{ end }}
</footer>
2022-11-10 22:48:02 -07:00
{{- end -}}
</body>
2022-11-10 22:42:39 -07:00
</html>