Open matteo-bruni opened 7 years ago
Considering that list.html is not used in the exampleSite. A "way" to escape from this problem in hugo 0.18, it is not a solution, is delete or rename the file list.html (from folder _default). Maybe, this could help someone until a suitable solution is proposed.
Thanks for the report. Sadly, this bug also broke the whole documentation. I'll try to find the exact issue.
Edit: I renamed the default list template temporarily.
The new "everything is a page" appraoch in Hugo v0.18 causes that index.md
will not be rendered as index.html
because it competes against the section template which always seems to win. See spf13/hugo#2802 for more information. There's also a corresponding forum post.
Hi, @digitalcraftsman I found a solution. It is not necessary to rename or remove list.html. The solution is to re-structurate your content folder. Also it is necessary, to change the logic in the footer when IsHome, the value 1 must change to 2. I will fork your repo and I will send a pull request for your evaluation.
hi,
with the new 0.18 release of hugo all "single" pages are detected as list (just try the license page on your demo) so the list.html template is used instead of single.html.
this is probably due to: