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

116 lines
2.1 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.
2025-08-05 13:24:21 +08:00
# About
2025-05-20 02:59:55 -04:00
[[main]]
2025-08-05 13:24:21 +08:00
identifier = "about"
name = "About"
pageRef = "/about/"
weight = 10
2025-07-25 02:15:37 +08:00
2025-05-20 02:59:55 -04:00
# Notes
[[main]]
identifier = "notes"
name = "Notes"
2025-07-25 02:15:37 +08:00
pageRef = "/notes/"
weight = 30
2025-05-20 02:59:55 -04:00
[[main]]
name = "Coding"
2025-07-25 02:15:37 +08:00
url = "/notes/coding/"
2025-05-20 02:59:55 -04:00
parent = "notes"
weight = 10
2025-08-18 20:01:21 +08:00
[[main]]
name = "MCUs' Story"
url = "/notes/mcu/"
parent = "notes"
weight = 20
2025-05-20 02:59:55 -04:00
[[main]]
name = "PDF Collection"
2025-07-25 02:15:37 +08:00
url = "/notes/pdf/"
2025-05-20 02:59:55 -04:00
parent = "notes"
2025-08-18 20:01:21 +08:00
weight = 80
2025-05-20 02:59:55 -04:00
2025-07-25 02:15:37 +08:00
# ===============Projects===============
2025-05-20 02:59:55 -04:00
[[main]]
identifier = "projects"
name = "Projects"
2025-07-25 02:15:37 +08:00
pageRef = "/projects/"
weight = 50
2025-05-20 02:59:55 -04:00
2025-07-25 02:15:37 +08:00
# [[main]]
# name = "AI"
# url = "/projects/ai/"
# parent = "projects"
# weight = 10
2025-05-20 02:59:55 -04:00
[[main]]
2025-07-25 02:15:37 +08:00
name = "Fancy Things on Boards"
url = "/projects/embedded/"
2025-05-20 02:59:55 -04:00
parent = "projects"
weight = 20
2025-07-25 02:15:37 +08:00
# [[main]]
# name = "Game"
# url = "/projects/game/"
# parent = "projects"
# weight = 30
# [[main]]
# name = "Robotics"
# url = "/projects/robotics/"
# parent = "projects"
# weight = 40
2025-05-20 02:59:55 -04:00
[[main]]
2025-07-25 02:15:37 +08:00
name = "Self-host"
url = "/projects/self_host/"
2025-05-20 02:59:55 -04:00
parent = "projects"
2025-07-25 02:15:37 +08:00
weight = 50
2025-05-20 02:59:55 -04:00
2025-07-25 02:15:37 +08:00
# Life
[[main]]
identifier = "life"
name = "RestHere"
pageRef = "/life/"
weight = 70
2025-05-20 02:59:55 -04:00
2025-07-25 02:15:37 +08:00
[[main]]
name = "My Pet"
url = "/life/pet/"
parent = "life"
weight = 5
2025-05-20 02:59:55 -04:00
[[main]]
2025-07-25 02:15:37 +08:00
name = "My Travel"
url = "/life/travel/"
parent = "life"
weight = 10
2025-05-20 02:59:55 -04:00
[[main]]
2025-08-18 20:01:21 +08:00
identifier = "Code"
pre = "gitea"
url = "https://code.swangnice.cn/swangnice"
2025-05-20 02:59:55 -04:00
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