Fix my broken JSON, again
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m7s
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 2m7s
This commit is contained in:
parent
d361ad2ea7
commit
bdaf43ad16
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user