Files
swangnice_site/config/_default/menus.en.toml

97 lines
1.8 KiB
TOML
Raw Normal View History

2025-05-20 02:59:55 -04:00
# -- Main Menu --
# The main menu is displayed in the header at the top of the page.
# Acceptable parameters are name, pageRef, page, url, title, weight.
#
# The simplest menu configuration is to provide:
# name = The name to be displayed for this menu link
# pageRef = The identifier of the page or section to link to
#
# By default the menu is ordered alphabetically. This can be
# overridden by providing a weight value. The menu will then be
# ordered by weight from lowest to highest.
[[main]]
name = "Home"
url = "/en/"
weight = 1
# Notes
[[main]]
identifier = "notes"
name = "Notes"
pageRef = "/en/notes/"
weight = 10
[[main]]
name = "Coding"
url = "/en/notes/coding/"
parent = "notes"
weight = 10
[[main]]
name = "PDF Collection"
url = "/en/notes/pdf/"
parent = "notes"
weight = 20
# Projects
[[main]]
identifier = "projects"
name = "Projects"
pageRef = "/en/projects/"
weight = 20
[[main]]
name = "AI"
url = "/en/projects/ai/"
parent = "projects"
weight = 10
[[main]]
name = "Embedded Systems"
url = "/en/projects/embedded/"
parent = "projects"
weight = 20
[[main]]
name = "Game"
url = "/en/projects/game/"
parent = "projects"
weight = 30
[[main]]
name = "Robotics"
url = "/en/projects/robotics/"
parent = "projects"
weight = 40
# Archive
[[main]]
name = "Archive"
pageRef = "/en/archive/"
weight = 70
[[main]]
identifier = "web"
pre = "link"
url = "https://swangnice.com"
weight = 80
[[main]]
identifier = "github"
pre = "github"
url = "https://github.com/swangnice"
weight = 90
# -- Footer Menu --
# The footer menu is displayed at the bottom of the page, just before
# the copyright notice. Configure as per the main menu above.
[[footer]]
name = "Tags"
pageRef = "tags"
weight = 10