Documentation for nested sections is very scarce. Things like page variables, ranging over posts in nested sections content, excluding posts from a nested section in index page etc need to be documented. I have about 15 nested sections which I do not want in the root content folder so I moved them inside a content/post folder and a few things broke (e.g here and the exclude feature in {{ $page := where site.RegularPages "Section" "!=" "dictum" }}{{ range (.Paginate $page).Pages }} <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> {{ end }}
)
1 Like