{{ define "title" }}
  {{ .Page.Title | plainify }} | {{ .Site.Title }}
{{ end }}

{{ define "main-class" }}--section layouts-default-section{{ end }}

{{ define "main-type" }}.{{ .Params.mainType }}{{ end }}
{{ define "item-type" }}{{ .Params.itemsType }}{{ end }}


{{ define "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 }}
</header>
{{ end }}
  
{{ define "main-body" }}
  {{ partial "items-grid.html" . }}
{{ end }}