diff --git a/src/_data/follow.js b/src/_data/follow.js index b15552d6..72414877 100644 --- a/src/_data/follow.js +++ b/src/_data/follow.js @@ -2,6 +2,7 @@ module.exports = async function () { const { ActivityFeed } = await import('@11ty/eleventy-activity-feed') const feed = new ActivityFeed() feed.addSource('atom', 'Blog', 'https://coryd.dev/feed.xml') + feed.addSource('atom', 'Link', 'https://coryd.dev/links.xml') feed.addSource('rss', 'Letterboxd', 'https://letterboxd.com/cdme/rss') feed.addSource('rss', 'Oku', 'https://oku.club/rss/collection/NvEmF') const entries = feed.getEntries() diff --git a/src/_includes/feed-links.liquid b/src/_includes/feed-links.liquid index 1a9d1dc9..eb5a54a0 100644 --- a/src/_includes/feed-links.liquid +++ b/src/_includes/feed-links.liquid @@ -2,17 +2,16 @@ - {% block title %}All posts • Cory Dransfeldt{% endblock %} + {% block title %}Links • Cory Dransfeldt{% endblock %} - - + + {% block update %} {{ collections.entries | rssLastUpdatedDate }}{% endblock %} - {{ site.url }}/{% block id %}posts/{% endblock %} - + {{ site.url }} {{ site.author }} {{ site.email }} diff --git a/src/_includes/feed.liquid b/src/_includes/feed.liquid index 3e6b7233..92ef6df1 100644 --- a/src/_includes/feed.liquid +++ b/src/_includes/feed.liquid @@ -4,8 +4,8 @@ {% block title %}All posts • Cory Dransfeldt{% endblock %} - - + + {% block update %} diff --git a/src/feeds/links.liquid b/src/feeds/links.liquid index 28a672ea..c32acc86 100644 --- a/src/feeds/links.liquid +++ b/src/feeds/links.liquid @@ -9,14 +9,14 @@ permalink: /links.xml {{ articles | rssLastUpdatedDate }}{% endblock %} {% block entries %} {% assign links = articles | reverse %} - {% for article in articles %} + {% for link in links %} - {{ article.content.title | escape }} - - {{ article.publication_date | date: "%m.%d.%Y" }} - {{ article.content.id }} + {{ link.content.title | escape }} + + {{ link.publication_date | date: "%m.%d.%Y" }} + {{ link.content.link }} - {{ article.excerpt | escape }} + {{ link.excerpt | escape }} {% endfor %}