Hi,
I’m a complete beginner with HUGO, but I tried searching online, read the FAQ, looked at this forum but couldn’t find a solution.
I have a very WIP site and the list page under /projects (code here) behaves very unpredictably. When rebuilding almost always some posts go missing from the list. If I change something in the post it shows up but then another goes missing. I checked all the syntax and it looks fine to me.
There is probably a much better way to list the subfolders in the template as well, but I don’t know where to go with this problem.
What am I missing?
All pages have an index.md except posts. It can be a blank index.md for a page you don’t need, but I assume that it must exist for Hugo to make the distinction.
I hope this solution helps.
EDIT 1: Added screenshot, modified text to increase clarity of the answer.