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