[[menu.main]]is the main loop, you can add your navigation item by copy and paste this line.
nameattribute is for navigation item name.
URLis for the page url, just give the page name here, it will automatically add the base URL from your site. like if you want to give the about page url here, just type
weightis for your navigation sorting, the smaller number weight will show first.
dropdown menuyou need to add another attribute called
hasChildren = true, and remove
URL. then give 1 tab space for understanding hugo that is a children menu item. and paste this
[[menu.main]]again, then give the
parent =attribute here. parent name should be the dropdown item name, then give the page
navigation_buttonis for main navigation button, you can enable or disable it.