diff --git a/layouts/partials/page_data.json b/layouts/partials/page_data.json index f400eb8..5cbe072 100644 --- a/layouts/partials/page_data.json +++ b/layouts/partials/page_data.json @@ -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 }},