fix: json feed formats

This commit is contained in:
Cory Dransfeldt 2023-03-28 11:07:31 -07:00
parent cf4cc931a4
commit 99ae993986
No known key found for this signature in database
3 changed files with 14 additions and 4 deletions

View file

@ -3,8 +3,12 @@ permalink: '/follow.json'
---
{% assign posts = follow.posts %}
{
"posts": [
{% for item in 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 %}
{
"title": "{{ item.title }}",
"url": "{{ item.url }}"