1
Fork 0

Cleanup JSON data

This commit is contained in:
Jake Howard 2018-01-07 15:54:41 +00:00
parent f5c404c69b
commit 12ab03e05d
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -2,12 +2,12 @@
"id": "{{ .UniqueID }}",
"title": "{{ .Title }}",
"image": "{{ absURL .Params.image }}",
"date": "{{ .Date }}",
"date": "{{ .Date.Format .Site.Params.iso8601 }}",
"url": "{{ .Permalink }}",
"link": "{{ .RelPermalink }}",
"link_title": "{{ .LinkTitle }}",
"content_html": {{ jsonify (.Content | plainify | chomp | htmlUnescape) }},
"content_text": {{ jsonify .RawContent }},
"content": {{ jsonify .RawContent }},
"content_html": {{ jsonify (.Content | chomp) }},
"summary": {{ jsonify (.Summary | plainify | chomp | htmlUnescape) }},
"words": {{ .FuzzyWordCount }},
"reading_time": {{ .ReadingTime }},