This commit is contained in:
1 parent
d361ad2ea7
commit
bdaf43ad16
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -28,7 +28,7 @@
|
||||
"content_html": {% if post.templateContent %}{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) | dump | safe }}{% else %}""{% endif %},
|
||||
"date_published": "{{ post.date | dateToRfc3339 }}",
|
||||
"tags": {{ post.data.tags | except("posts") | json | safe }},
|
||||
"summary": "{{ post | excerpt }}"
|
||||
"summary": {{ post | excerpt | json | safe }}
|
||||
}
|
||||
{% if not loop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
|
||||
@@ -30,7 +30,7 @@ eleventyImport:
|
||||
"content_html": {% if post.templateContent %}{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) | dump | safe }}{% else %}""{% endif %},
|
||||
"date_published": "{{ post.date | dateToRfc3339 }}",
|
||||
"tags": {{ post.data.tags | except("posts") | json | safe }},
|
||||
"summary": "{{ post | excerpt }}"
|
||||
"summary": {{ post | excerpt | json | safe }}
|
||||
}
|
||||
{% if not loop.last %},{% endif %}
|
||||
{%- endfor %}
|
||||
|
||||
Reference in new issue
Block a user