refactor: add exampleSite menu using FrontMatter (#167)
This commit is contained in:
+3
-18
@@ -99,6 +99,9 @@ params:
|
||||
content:
|
||||
enabled: true
|
||||
|
||||
### Custom menu
|
||||
### See https://docs.stack.jimmycai.com/configuration/custom-menu
|
||||
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
|
||||
menu:
|
||||
main:
|
||||
- identifier: home
|
||||
@@ -107,24 +110,6 @@ menu:
|
||||
weight: -100
|
||||
pre: home
|
||||
|
||||
- identifier: about
|
||||
name: About
|
||||
url: about
|
||||
weight: -90
|
||||
pre: user
|
||||
|
||||
- identifier: archives
|
||||
name: Archives
|
||||
url: archives
|
||||
weight: -70
|
||||
pre: archives
|
||||
|
||||
- identifier: search
|
||||
name: Search
|
||||
url: search
|
||||
weight: -60
|
||||
pre: search
|
||||
|
||||
related:
|
||||
includeNewer: true
|
||||
threshold: 60
|
||||
|
||||
Reference in New Issue
Block a user