fix: articles de-linked pending a readwise api update

This commit is contained in:
Cory Dransfeldt 2023-05-13 11:02:14 -07:00
parent 0df06e4ab3
commit d03bbc0867
No known key found for this signature in database
3 changed files with 7 additions and 6 deletions

View file

@ -2,7 +2,7 @@ module.exports = async function () {
const { ActivityFeed } = await import('@11ty/eleventy-activity-feed')
const feed = new ActivityFeed()
feed.addSource('atom', '📝', 'https://coryd.dev/feed.xml')
feed.addSource('atom', '🔗', 'https://coryd.dev/links.xml')
// feed.addSource('atom', '🔗', 'https://coryd.dev/links.xml')
feed.addSource('rss', '🎥', 'https://letterboxd.com/cdme/rss')
feed.addSource('rss', '📖', 'https://oku.club/rss/collection/NvEmF')
const entries = feed.getEntries().catch()

View file

@ -113,15 +113,16 @@ layout: main
{% endif %}
{% if articles %}
<h2 class="m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mt-6 mb-4">
Reading: favorite articles
Reading: shortlisted articles
</h2>
<div>
<ul class="list-inside list-disc pl-5 md:pl-10">
{% for article in articles | reverse %}
<li class="mt-1.5 mb-2">
<a href="{{article.url}}" title="{{article.title | escape}}">
{{ article.title | escape }}
</a>
{% comment %}<a href="{{article.url}}" title="{{article.title | escape}}">{% endcomment %}
{% comment %}{{ article.title | escape }}{% endcomment %}
{% comment %}</a>{% endcomment %}
{{ article.title | escape }} by {{ article.author }}
</li>
{% endfor %}
</ul>

View file

@ -10,7 +10,7 @@ module.exports = class {
const feed = new ActivityFeed()
feed.addSource('atom', '📝', 'https://coryd.dev/feed.xml')
feed.addSource('atom', '🔗', 'https://coryd.dev/links.xml')
// feed.addSource('atom', '🔗', 'https://coryd.dev/links.xml')
feed.addSource('rss', '🎥', 'https://letterboxd.com/cdme/rss')
feed.addSource('rss', '📖', 'https://oku.club/rss/collection/NvEmF')