docs: update Jekyll guide YML syntax (#2738)
This commit is contained in:
parent
f328a274e7
commit
3d7cff01d6
@ -286,14 +286,12 @@ Finally, add the following to the collections array in `config.yml`
|
||||
name: "navigation"
|
||||
file: "_data/navigation.yml"
|
||||
fields:
|
||||
- {
|
||||
label: "Navigation Items",
|
||||
name: "items",
|
||||
widget: "list",
|
||||
fields:
|
||||
- {label: Name, name: name, widget: string}
|
||||
- {label: Link, name: link, widget: string}
|
||||
}
|
||||
- label: "Navigation Items"
|
||||
name: "items"
|
||||
widget: "list"
|
||||
fields:
|
||||
- {label: Name, name: name, widget: string}
|
||||
- {label: Link, name: link, widget: string}
|
||||
```
|
||||
|
||||
Now you can add, rename, and rearrange the navigation items on your blog.
|
||||
|
Loading…
x
Reference in New Issue
Block a user