Add excerpt

This commit is contained in:
Oliver Davies 2020-05-06 02:02:57 +01:00
parent c38c9ad7b2
commit 6e8b0d2083

View file

@ -9,6 +9,7 @@ use: [posts]
{
"id": "{{ loop.index }}",
"title": {{ post.title|json_encode|raw }},
"excerpt": {{ post.excerpt|json_encode|raw }},
"created": "{{ post.date }}",
"updated": "{{ post.date }}",
"path": "{{ post.url|trim('/', 'right') }}",