113 lines
2.1 KiB
TOML
113 lines
2.1 KiB
TOML
# -- 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.
|
|
|
|
# Notes
|
|
[[main]]
|
|
identifier = "notes"
|
|
name = "笔记"
|
|
pageRef = "/zh-cn/notes/"
|
|
weight = 30
|
|
|
|
[[main]]
|
|
name = "编程笔记"
|
|
url = "/zh-cn/notes/coding/"
|
|
parent = "notes"
|
|
weight = 10
|
|
|
|
[[main]]
|
|
name = "PDF归档"
|
|
url = "/zh-cn/notes/pdf/"
|
|
parent = "notes"
|
|
weight = 20
|
|
|
|
# Projects
|
|
[[main]]
|
|
identifier = "projects"
|
|
name = "项目"
|
|
pageRef = "/zh-cn/projects/"
|
|
weight = 50
|
|
|
|
# [[main]]
|
|
# name = "人工智能"
|
|
# url = "/zh-cn/projects/ai/"
|
|
# parent = "projects"
|
|
# weight = 10
|
|
|
|
[[main]]
|
|
name = "妙板生花"
|
|
url = "/zh-cn/projects/embedded/"
|
|
parent = "projects"
|
|
weight = 20
|
|
|
|
# [[main]]
|
|
# name = "游戏开发"
|
|
# url = "/zh-cn/projects/game/"
|
|
# parent = "projects"
|
|
# weight = 30
|
|
|
|
# [[main]]
|
|
# name = "机器人"
|
|
# url = "/zh-cn/projects/robotics/"
|
|
# parent = "projects"
|
|
# weight = 40
|
|
|
|
[[main]]
|
|
name = "自托管"
|
|
url = "/zh-cn/projects/self_host/"
|
|
parent = "projects"
|
|
weight = 50
|
|
|
|
# Life
|
|
[[main]]
|
|
identifier = "life"
|
|
name = "此处休息"
|
|
pageRef = "/zh-cn/life/"
|
|
weight = 70
|
|
|
|
[[main]]
|
|
name = "宠物"
|
|
url = "/zh-cn/life/pet/"
|
|
parent = "life"
|
|
weight = 5
|
|
|
|
[[main]]
|
|
name = "游记"
|
|
url = "/zh-cn/life/travel/"
|
|
parent = "life"
|
|
weight = 10
|
|
|
|
|
|
|
|
[[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
|