106 lines
3.1 KiB
HTML
106 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
|
|
{{ partialCached "copying.html" . }}
|
|
|
|
<html
|
|
class="h-card"
|
|
lang="en-gb"
|
|
itemscope
|
|
itemtype="https://schema.org/WebSite"
|
|
>
|
|
<head>
|
|
<!-- Meta -->
|
|
{{- partialCached "head/meta.html" . -}}
|
|
<meta
|
|
name="description"
|
|
content="{{- block "head-description" . -}}{{- .Summary | plainify -}}{{- end -}}"
|
|
/>
|
|
|
|
{{- block "title" . -}}
|
|
{{- partialCached "head/title.html" ( slice ( .Page.Title | plainify ) .Site.Title ) .Site.Title .Page.Title -}}
|
|
{{- 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 -}}
|
|
|
|
<!-- Stylesheets -->
|
|
{{- partialCached "head/stylesheets.html" . -}}
|
|
|
|
<!-- Optional Includes -->
|
|
{{- 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 layouts-default-baseof-section{{ 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/{{- default "Collection" .Params.mainType -}}"
|
|
>
|
|
{{ block "main-header" . }}
|
|
<header class="site-content__header">
|
|
<h2 class="page-title">{{ .Title | safeHTML }}
|
|
{{ range .AlternativeOutputFormats -}}
|
|
<a href="{{ .RelPermalink }}" aria-label="{{ $.Title }} RSS feed">
|
|
<img class="feed-icon" alt="RSS feed" src="{{ $.Site.Params.feedIcon }}">
|
|
</a>
|
|
{{- end -}}
|
|
</h2>
|
|
|
|
{{- .Content -}}
|
|
|
|
<nav class="page-header__minor-links">
|
|
{{ partial "years-list.html" . }}
|
|
</nav>
|
|
</header>
|
|
{{ end }}
|
|
|
|
{{ block "main-body" . }}
|
|
{{- partial "items-grid.html" . -}}
|
|
{{ end }}
|
|
|
|
{{ block "main-footer" . }}{{ end }}
|
|
</article>
|
|
|
|
{{- block "footer" . -}}
|
|
<footer class="site-footer">
|
|
{{-
|
|
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" )
|
|
)
|
|
-}}
|
|
|
|
{{ block "footer-scripts" . }}
|
|
<script src="/js/lazy-images.js"></script>
|
|
{{ end }}
|
|
</footer>
|
|
{{- end -}}
|
|
</body>
|
|
</html>
|