Omphaloskepsis-2/layouts/_default/baseof.html

74 lines
2.2 KiB
HTML

<!DOCTYPE html>
{{ partialCached "copying.html" . }}
<html
class="h-card"
lang="en-gb"
itemscope
itemtype="https://schema.org/Blog"
>
<head>
<!-- Meta -->
{{- partialCached "head/meta.html" . -}}
<meta
name="description"
content="{{- block "head-description" . -}}{{- $.Site.Params.description | html -}}{{- end -}}"
/>
{{- block "title" . -}}
{{- partialCached "head/title.html" ( slice .Site.Title .Site.Params.tagline ) .Site.Title .Site.Params.tagline -}}
{{- end -}}
<!-- References -->
{{- partialCached "head/references.html" ( dict "sc" $ "pc" . ) -}}
<link
rel="canonical"
href="{{- .Permalink -}}"
/>
{{- with .OutputFormats.Get "rss" -}}
<link
rel="{{ .Rel }}"
type="{{ .MediaType.Type | html }}"
href="{{ .RelPermalink }}"
title="{{ $.Site.Title | safeHTML }}"
/>
{{- end -}}
{{- if .Param "math" -}}
{{- partialCached "head/math.html" . -}}
{{- end -}}
{{- block "header-scripts" . -}}<!-- -->{{- end -}}
{{- block "header-styles" . -}}<!-- -->{{- end -}}
</head>
<body class="site-container site-container{{ block "main-class" . }}layouts-default-baseof{{ end }}">
{{- block "header" . -}}
{{- partialCached "header/site-header.html" . -}}
{{- end -}}
<article
class="{{ block "article-class" . }}h-entry{{ end }}site-content site-content{{ block "main-class" . }}{{ end }}"
itemscope
itemtype="https://schema.org/BlogPosting"
>
{{ block "main-header" . }}{{ end }}
{{ block "main-body" . }}{{ end }}
{{ block "main-footer" . }}{{ end }}
</article>
{{- block "footer" . -}}
<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>
{{- end -}}
</body>
</html>