diff --git a/config/_default/menus.en.toml b/config/_default/menus.en.toml index 758fbf4..344c1d2 100644 --- a/config/_default/menus.en.toml +++ b/config/_default/menus.en.toml @@ -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" diff --git a/config/_default/menus.zh-Hans.toml b/config/_default/menus.zh-Hans.toml new file mode 100644 index 0000000..6759c51 --- /dev/null +++ b/config/_default/menus.zh-Hans.toml @@ -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