Omphaloskepsis-2/layouts/_default/list.html

27 lines
784 B
HTML
Raw Normal View History

2022-11-11 05:48:02 +00:00
{{ define "title" }}
{{ .Type | singularize }}: ‘{{ .Page.Title | plainify }}’ | {{ .Site.Title }}
{{ end }}
2023-08-07 22:23:46 +00:00
{{ define "main-class" }}--list layouts-default-list{{ end}}
2022-11-11 05:48:02 +00:00
{{ define "main-header" }}
<header class="site-content__header">
2023-07-01 03:16:59 +00:00
<h2 class="page-title">{{ .Type | singularize }}: <q>{{ .Title | safeHTML }}</q>
2022-11-11 05:48:02 +00:00
{{ range .AlternativeOutputFormats -}}
2023-07-01 03:16:59 +00:00
<a href="{{ .RelPermalink }}" aria-label="{{ $.Title }} RSS feed">
2023-08-22 10:14:33 +00:00
<img class="feed-icon" alt="RSS feed" src="{{ $.Site.Params.feedIcon }}">
2022-11-11 05:48:02 +00:00
</a>
{{ end }}
2023-07-01 03:16:59 +00:00
</h2>
2022-11-11 05:48:02 +00:00
{{ .Content }}
<nav class="page-header__minor-links">
{{ partial "years-list.html" . }}
</nav>
</header>
{{ end }}
{{ define "main-body" }}
{{ partial "items-grid.html" . }}
{{ end }}