quick writeup

This commit is contained in:
Martijn de Boer 2019-01-07 21:38:08 +01:00
parent 4862963d1d
commit a210dc58b5

16
README
View file

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