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