Team, I’d love to pick up your brains on this situation.
It might be an easy thing, I just don’t understand what’s going on.
I worked on my personal website (don’t judge the quality of the code, but here’s the repo).
The context
I just cloned the git repo to my older computer and installed hugo. Running on:
hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec+extended darwin/amd64 BuildDate=2024-03-20T11:40:10Z VendorInfo=gohugoio
When I run hugo server -D
this is the output of my terminal:
Watching for changes in /Users/Marek/develop/marek-website/{archetypes,content,data,layouts,node_modules,package.json,static,themes}
Watching for config changes in /Users/Marek/develop/marek-website/config.toml
Start building sites …
hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec+extended darwin/amd64 BuildDate=2024-03-20T11:40:10Z VendorInfo=gohugoio
WARN "/Users/Marek/develop/marek-website/content/education-awards.html:1:1": duplicate menu entry with identifier "Education & Awards" in menu "main"
WARN "/Users/Marek/develop/marek-website/content/hobbies.html:1:1": duplicate menu entry with identifier "Hobbies" in menu "main"
I don’t quite understand the warnings wince I am not using ANY identifiers for menu entries.
The issue
The issue I am facing is that having hugo server run on my other computer, the menu items were in the correct order (as displayed on marekdlugos dot com):
Work | Side Projects | Education & Awards | Hobbies | Sharing
The way the menu gets displayed right now when I run it on localhost is:
Work | Side Projects | Sharing | Education & Awards | Hobbies
Additional information
- Example page to see how I define menu order
...
menu:
main:
weight: 25
---
Thank you.