If the menu item you'd like to add is a page, add
menu field to its Front Matter:
menu:main:name: title (optional)pre: iconweight: -90
Menu setting is placed under
menu section of
[menu][[menu.main]]identifier = "home"name = "Home"url = "/"weight = -100pre = "home"[[menu.main]]identifier = "about-cn"name = "About"url = "/about/"weight = -90pre = "user"[[menu.main]]identifier = "archive"name = "Archive"url = "/archive/"weight = -70pre = "archive"
identifier: Item ID
name: Display text
pre: Specify which SVG icon should be used
pre is set to
archive, theme will look for
This theme comes with some SVG icons from Tabler Icons. You can find them under theme folder
If you want to include more icons, just download them from website above, and place them under
assets/icons folder of your Hugo site.