Cleanup JSON data
This commit is contained in:
parent
f5c404c69b
commit
12ab03e05d
1 changed files with 3 additions and 3 deletions
|
@ -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 }},
|
||||
|
|
Loading…
Reference in a new issue