From 3d7cff01d641be4a563acf8928b0bef0ba502835 Mon Sep 17 00:00:00 2001 From: Tom Rutgers Date: Fri, 11 Oct 2019 06:40:18 +0200 Subject: [PATCH] docs: update Jekyll guide YML syntax (#2738) --- website/content/docs/jekyll.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/website/content/docs/jekyll.md b/website/content/docs/jekyll.md index c0b87154..f4ab9ca2 100644 --- a/website/content/docs/jekyll.md +++ b/website/content/docs/jekyll.md @@ -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.