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?
The main issue is related with excess of rendered .html files. After hugo render in my about folder I have index.html, a folder, a2 folder and etc. I need only about/index.html and that’s why I started to try re-organize content/layouts