2019-10-30 14:26:42 -04:00
|
|
|
---
|
2020-07-27 12:39:08 -04:00
|
|
|
# Metadata comes from _data/metadata.json
|
2022-07-15 15:42:48 -04:00
|
|
|
permalink: /feed/feed.json
|
2019-10-30 14:26:42 -04:00
|
|
|
---
|
|
|
|
{
|
2020-11-30 22:04:23 -05:00
|
|
|
"version": "https://jsonfeed.org/version/1.1",
|
2019-10-30 14:26:42 -04:00
|
|
|
"title": "{{ metadata.title }}",
|
2021-03-18 22:20:05 -04:00
|
|
|
"language": "{{ metadata.language }}",
|
2019-10-30 14:26:42 -04:00
|
|
|
"home_page_url": "{{ metadata.url }}",
|
2022-07-15 15:42:48 -04:00
|
|
|
"feed_url": "{{ permalink | url | absoluteUrl(metadata.url) }}",
|
2019-10-30 14:26:42 -04:00
|
|
|
"description": "{{ metadata.description }}",
|
|
|
|
"author": {
|
|
|
|
"name": "{{ metadata.author.name }}",
|
|
|
|
"url": "{{ metadata.author.url }}"
|
|
|
|
},
|
|
|
|
"items": [
|
2020-07-27 12:39:08 -04:00
|
|
|
{%- for post in collections.posts | reverse %}
|
2022-07-15 15:42:48 -04:00
|
|
|
{%- set absolutePostUrl = post.url | url | absoluteUrl(metadata.url) %}
|
2019-10-30 14:26:42 -04:00
|
|
|
{
|
|
|
|
"id": "{{ absolutePostUrl }}",
|
|
|
|
"url": "{{ absolutePostUrl }}",
|
|
|
|
"title": "{{ post.data.title }}",
|
2021-06-15 04:45:29 -04:00
|
|
|
"content_html": {% if post.templateContent %}{{ post.templateContent | htmlToAbsoluteUrls(absolutePostUrl) | dump | safe }}{% else %}""{% endif %},
|
2022-07-15 15:42:48 -04:00
|
|
|
"date_published": "{{ post.date | dateToRfc3339 }}"
|
2019-10-30 14:26:42 -04:00
|
|
|
}
|
2022-07-15 15:42:48 -04:00
|
|
|
{% if not loop.last %},{% endif %}
|
2019-10-30 14:26:42 -04:00
|
|
|
{%- endfor %}
|
|
|
|
]
|
|
|
|
}
|