{{ define "main" }} {{- $controls := .RegularPagesRecursive }}
{{ if .Parent.IsHome }}Catalog{{ else }}Provider{{ end }}
{{ . }}
{{ len $controls }} {{ if eq (len $controls) 1 }}control{{ else }}controls{{ end }} {{- with .OutputFormats.Get "json" }} ยท index.json{{ end }}