Hope you can assist me with this issue. New to Hugo, and for the most part it is working great but, I am experience this strange issue where pages and the menu is built inconsistently. So, the site is very small, ~4 pages and I have the pages set-up as follows:
I then run
hugo server -D and point the browser at
localhost:1313. Now, sometimes the page content loads from index.md as expected, and the menu items are: home - about - portfolio - contact
Other times however the content from index.md is not, and the menu only has the entry for
With regards to the menu specifically, I have the following in the frontmatter of all the pages:
linktitle: "home" menu: "main"
What I also see is that, when the content is not loaded on the landing page(index.md), then trying to manually navigate to for example
localhost:1313/pages/about results in a 404.
Not sure what is causing this inconsistency. Any idea, suggestions? I would really appreciate any help.
Also, just FYI. I have also tried running
hugo server -D --disableFastRender as well as
hugo server -D --disableFastRender --gc
Thanks in advance.