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

19
src/feeds/links.liquid Normal file
View file

@ -0,0 +1,19 @@
---
layout: null
permalink: /links.xml
---
{% layout "./_includes/feed-links.liquid" %}
{% block title %}Links • Cory Dransfeldt{% endblock %}
{% block self %}links.xml{% endblock %}
{% block update %}{{ articles[0].time | date: "%Y-%m-%dT%H:%M:%S-08:00" }}{% endblock %}
{% block entries %}
{% for link in links %}
<entry>
<title>{{ link.description | escape }}</title>
<link href="{{link.href}}" />
<updated>{{ link.time | date: "%m.%d.%Y" }}</updated>
<id>{{ link.href }}</id>
<content type="html"></content>
</entry>
{% endfor %}
{% endblock %}