修复中文页面顶端
This commit is contained in:
parent
00b7f16e8e
commit
c0409fc962
@ -25,11 +25,11 @@
|
||||
pageRef = "tags"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
identifier = "search"
|
||||
weight = 99
|
||||
[main.params]
|
||||
action = "search"
|
||||
# [[main]]
|
||||
# identifier = "search"
|
||||
# weight = 99
|
||||
# [main.params]
|
||||
# action = "search"
|
||||
|
||||
[[main]]
|
||||
identifier = "locale"
|
||||
|
||||
47
config/_default/menus.zh-Hans.toml
Normal file
47
config/_default/menus.zh-Hans.toml
Normal file
@ -0,0 +1,47 @@
|
||||
# -- 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 = "posts"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "分类"
|
||||
pageRef = "categories"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "标签"
|
||||
pageRef = "tags"
|
||||
weight = 30
|
||||
|
||||
# [[main]]
|
||||
# identifier = "search"
|
||||
# weight = 99
|
||||
# [main.params]
|
||||
# action = "search"
|
||||
|
||||
[[main]]
|
||||
identifier = "locale"
|
||||
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 = "Tags"
|
||||
# pageRef = "tags"
|
||||
# weight = 10
|
||||
Loading…
x
Reference in New Issue
Block a user