1
Fork 0

Add more things to json data files

This commit is contained in:
Jake Howard 2017-07-15 17:42:45 +01:00
parent 0d937b4717
commit 95d129b089
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,11 +1,11 @@
{
"id": "{{ .UniqueID }}",
"title": "{{ .Title }}",
"date": "{{ .Date }}",
"date_published": "{{ .Date }}",
"image": "{{ absURL .Params.image }}",
"permalink": "{{ .Permalink }}",
"wordCount": "{{ .WordCount }}",
"linkTitle": "{{ .LinkTitle }}",
"section": "{{ .Section }}",
"content": "{{ .Permalink }}index.txt"
"url": "{{ .Permalink }}",
"content_html": {{ .Content | jsonify }},
"content_text": {{ .RawContent | jsonify }},
"summary": {{ .Summary | jsonify }},
"banner_image": "{{ absURL .Params.image }}"
}