use JSON.stringify for content
This commit is contained in:
@ -19,7 +19,7 @@ eleventyExcludeFromCollections: true
|
||||
"id": "{{ absolutePostUrl }}",
|
||||
"url": "{{ absolutePostUrl }}",
|
||||
"title": "{{ post.data.title }}",
|
||||
"content_html": "{{ post.templateContent | jsonContent | safe }}",
|
||||
"content_html": {{ post.templateContent | jsonStringify | safe }},
|
||||
"date_published": "{{ post.date | rssDate }}",
|
||||
"tags": [
|
||||
{%- for c in post.data.category %}
|
||||
|
Reference in New Issue
Block a user