chore: organize + clean up
This commit is contained in:
parent
ddc2e30375
commit
95581a079c
27 changed files with 172 additions and 15 deletions
21
src/feeds/json/follow.11ty.liquid
Normal file
21
src/feeds/json/follow.11ty.liquid
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
permalink: '/follow.json'
|
||||
---
|
||||
{% assign posts = follow.posts %}
|
||||
{
|
||||
"version": "https://jsonfeed.org/version/1",
|
||||
"title": "All activity • Cory Dransfeldt",
|
||||
"icon": "https://coryd.dev/static/images/avatar.webp",
|
||||
"home_page_url": "https://coryd.dev",
|
||||
"feed_url": "https://coryd.dev/follow.json",
|
||||
"items": [{% for item in posts %}
|
||||
{
|
||||
"id": "{{ item.id }}",
|
||||
"title": "{{ item.title }}",
|
||||
"url": "{{ item.url }}",
|
||||
"content_text": "{{ item.title }} {{ item.url }}",
|
||||
"date_published": "{{ item.date_published | date: "%Y-%m-%dT%H:%M:%S-08:00" }}"
|
||||
}{% if not forloop.last %},{% endif %}
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
Reference in a new issue