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 }}", "id": "{{ .UniqueID }}",
"title": "{{ .Title }}", "title": "{{ .Title }}",
"date": "{{ .Date }}", "date_published": "{{ .Date }}",
"image": "{{ absURL .Params.image }}", "image": "{{ absURL .Params.image }}",
"permalink": "{{ .Permalink }}", "url": "{{ .Permalink }}",
"wordCount": "{{ .WordCount }}", "content_html": {{ .Content | jsonify }},
"linkTitle": "{{ .LinkTitle }}", "content_text": {{ .RawContent | jsonify }},
"section": "{{ .Section }}", "summary": {{ .Summary | jsonify }},
"content": "{{ .Permalink }}index.txt" "banner_image": "{{ absURL .Params.image }}"
} }