I have complex pages, with content:
–about/
–/--_index.md
–/--a.md
–/--a2.md
–/--…md
And layout like:
–layouts/
–/--about/
–/--/list.html
I’ve found that Hugo generate html page for index, a, a2 and every section of this page. This is ok, I red articles and got this, but I still can’t get the way how this should be. My list layout works with
{{ $pages := .Pages }}
{{ $pages := sort $pages ".Params.weight" }}
{{ range $pages }}
{{.}}
{{ end }}
Is there more elegant solution for this with fixing my issue?