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"
|
name: "navigation"
|
||||||
file: "_data/navigation.yml"
|
file: "_data/navigation.yml"
|
||||||
fields:
|
fields:
|
||||||
- {
|
- label: "Navigation Items"
|
||||||
label: "Navigation Items",
|
name: "items"
|
||||||
name: "items",
|
widget: "list"
|
||||||
widget: "list",
|
fields:
|
||||||
fields:
|
- {label: Name, name: name, widget: string}
|
||||||
- {label: Name, name: name, widget: string}
|
- {label: Link, name: link, widget: string}
|
||||||
- {label: Link, name: link, widget: string}
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now you can add, rename, and rearrange the navigation items on your blog.
|
Now you can add, rename, and rearrange the navigation items on your blog.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user