read again
When we talk about a section in correlation with template selection, it is currently always the root section only (
/blog/funny-cats/mypost/ => blog
).If you need a specific template for a sub-section, you need to adjust either the
type
orlayout
in front matter.
For /resources and /publications you need a different list template!
{{ range .Sections }}
{{ .Title }}
{{ end }}
Use the layout parameter in frontmatter to select this different template!
ex:
layout = “sectionlist”
and create template _default/sectionlist.html
or layout/resources/sectionlist.html
and layout/publications/sectionlist.html