2019-10-30 14:26:42 -04:00
|
|
|
---
|
2023-02-07 12:07:11 -05:00
|
|
|
# Metadata comes from _data/metadata.js
|
2022-07-15 15:42:48 -04:00
|
|
|
permalink: /feed/feed.json
|
2019-10-30 14:26:42 -04:00
|
|
|
---
|
|
|
|
{
|
2023-01-23 12:37:44 -05:00
|
|
|
"version": "https://jsonfeed.org/version/1.1",
|
|
|
|
"title": "{{ metadata.title }}",
|
|
|
|
"language": "{{ metadata.language }}",
|
|
|
|
"home_page_url": "{{ metadata.url | addPathPrefixToFullUrl }}",
|
|
|
|
"feed_url": "{{ permalink | htmlBaseUrl(metadata.url) }}",
|
|
|
|
"description": "{{ metadata.description }}",
|
|
|
|
"author": {
|
|
|
|
"name": "{{ metadata.author.name }}",
|
|
|
|
"url": "{{ metadata.author.url }}"
|
|
|
|
},
|
|
|
|
"items": [
|
|
|
|
{%- for post in collections.posts | reverse %}
|
|
|
|
{%- set absolutePostUrl = post.url | htmlBaseUrl(metadata.url) %}
|
|
|
|
{
|
|
|
|
"id": "{{ absolutePostUrl }}",
|
|
|
|
"url": "{{ absolutePostUrl }}",
|
|
|
|
"title": "{{ post.data.title }}",
|
|
|
|
"content_html": {% if post.templateContent %}{{ post.templateContent | transformWithHtmlBase(absolutePostUrl, post.url) | dump | safe }}{% else %}""{% endif %},
|
|
|
|
"date_published": "{{ post.date | dateToRfc3339 }}"
|
|
|
|
}
|
|
|
|
{% if not loop.last %},{% endif %}
|
|
|
|
{%- endfor %}
|
|
|
|
]
|
2019-10-30 14:26:42 -04:00
|
|
|
}
|