Hugo Add Menu Item
After adding a landing page to our hugo site, we’d like to have a Home link on the main menu.
Adding non-content links
To add a non-content link to a menu, we can add a menu entry to the config file (config.yml, in our example):
menu:
main:
- identifier: Home
name: Home
pre: <i class='fa fa-home'></i>
url: /
weight: -110
This will add an item to the main menu that points to url. We should note that url is relative to the site.