This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/feed.11ty.liquid

21 lines
No EOL
601 B
Text

---
permalink: '/feed.json'
---
{% assign posts = collections.posts | reverse %}
{
"version": "https://jsonfeed.org/version/1",
"title": "All posts • Cory Dransfeldt",
"icon": "https://coryd.dev/static/images/avatar.webp",
"home_page_url": "https://coryd.dev",
"feed_url": "https://coryd.dev/feed.json",
"items": [{% for item in posts %}
{
"id": "{{ site.url }}{{ item.url }}"
"title": "{{ item.data.title }}",
"url": "{{ site.url }}{{ item.url }}",
"content_html": "",
"date_published" "{{ item.date | date: "%Y-%m-%dT%H:%M" }}"
}{% if not forloop.last %},{% endif %}
{% endfor %}
]
}