feat: restore link sharing

This commit is contained in:
Cory Dransfeldt 2023-06-04 13:44:47 -07:00
parent d15d4e00ab
commit 112c0d4306
No known key found for this signature in database
11 changed files with 217 additions and 15 deletions

20
src/links.11ty.liquid Normal file
View file

@ -0,0 +1,20 @@
---
permalink: '/links.json'
---
{
"version": "https://jsonfeed.org/version/1",
"title": "Links • Cory Dransfeldt",
"icon": "https://coryd.dev/static/images/avatar.webp",
"home_page_url": "https://coryd.dev",
"feed_url": "https://coryd.dev/links.json",
"items": [{% for link in links %}
{
"id": "{{ link.href }}",
"title": "{{ link.description | escape }}",
"url": "{{ link.href }}",
"content_text": "",
"date_published": "{{ link.time | date: "%Y-%m-%dT%H:%M:%S-08:00" }}"
}{% if not forloop.last %},{% endif %}
{% endfor %}
]
}