mirror of https://github.com/jpanther/congo.git
57 lines
1.2 KiB
TOML
57 lines
1.2 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.
|
||
|
|
||
|
[[main]]
|
||
|
name = "文档"
|
||
|
pageRef = "docs"
|
||
|
weight = 10
|
||
|
|
||
|
[[main]]
|
||
|
name = "示例"
|
||
|
pageRef = "samples"
|
||
|
weight = 20
|
||
|
|
||
|
[[main]]
|
||
|
name = "用户"
|
||
|
pageRef = "users"
|
||
|
weight = 30
|
||
|
|
||
|
[[main]]
|
||
|
name = "GitHub"
|
||
|
url = "https://github.com/jpanther/congo"
|
||
|
weight = 40
|
||
|
[main.params]
|
||
|
icon = "github"
|
||
|
showName = false
|
||
|
target = "_blank"
|
||
|
|
||
|
[[main]]
|
||
|
identifier = "搜索"
|
||
|
weight = 99
|
||
|
[main.params]
|
||
|
action = "search"
|
||
|
|
||
|
[[main]]
|
||
|
identifier = "语言"
|
||
|
weight = 100
|
||
|
[main.params]
|
||
|
action = "locale"
|
||
|
|
||
|
# -- 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 = "标签"
|
||
|
# pageRef = "tags"
|
||
|
# weight = 10
|