docs: update Jekyll guide YML syntax (#2738)

This commit is contained in:
Tom Rutgers 2019-10-11 06:40:18 +02:00 committed by Shawn Erquhart
parent f328a274e7
commit 3d7cff01d6

View File

@ -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.