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