2022-11-11 05:48:02 +00:00
|
|
|
{{ define "title" }}
|
|
|
|
{{ .Page.Title | plainify }} | {{ .Site.Title }}
|
|
|
|
{{ end }}
|
|
|
|
|
2023-08-07 22:23:46 +00:00
|
|
|
{{ define "main-class" }}--section layouts-default-section{{ end }}
|
2022-11-11 05:48:02 +00:00
|
|
|
|
|
|
|
{{ define "main-type" }}.{{ .Params.mainType }}{{ end }}
|
|
|
|
{{ define "item-type" }}{{ .Params.itemsType }}{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ define "main-header" }}
|
|
|
|
<header class="site-content__header">
|
2023-07-01 03:16:59 +00:00
|
|
|
<h2 class="page-title">{{ .Title | safeHTML }}
|
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 }}
|
|
|
|
</header>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main-body" }}
|
|
|
|
{{ partial "items-grid.html" . }}
|
|
|
|
{{ end }}
|