{{ $pages := .Pages }}
{{ if .IsHome }}
{{ $pages = where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ end }}
{{ site.Params.indexTitle | markdownify }}
{{ else }}
{{ if eq .Title "/slashes" }}
{{ .Title | markdownify }}
My collection of slash pages↗.
{{ else }}
{{ .Title | markdownify | lower }}{{ if eq .Kind "term" }}
{{ with .Description }}{{ . }}{{ end }}
{{ end }}
{{ end }}{{ end }}
{{ .Content }}