One of the main additions to the Lagomier theme is the navigation which is available on desktop (in the sidebar) and mobile (as a tab bar). The original Lagom only provided the home link as well as a home icon link on each post page. I felt that it was important to provide more options.
This isn’t a perfect implementation, as it currently only works well (looks good on mobile) with three to four menu items. On mobile there is a more (ellipsis) added to the end which is used to display the sidebar.
Menu options are added to _data/menu.yml
in the format:
where site.data.menu[].name
must match the page page[].name
front matter, this ensures the page permalink is used and dynamic, instead of having to update both the page and the menu.
Example customization.md
: