diff --git a/README b/README index ee16e01..5bc21a7 100644 --- a/README +++ b/README @@ -24,6 +24,22 @@ And create a JSON output in your theme folder called index.json: {{- $.Scratch.Get "index" | jsonify -}} ``` +The json format should be like this: +``` +[ + { + "body": "Textual contents of item 1", + "title": "Item 1", + "uri": "/items/1" + }, + { + "body": "Textual contents of item 2", + "title": "Item 2", + "uri": "/items/2" + }, +] +``` + This removes a bit of formatting too agressively but alas. LICENSE;