fix: feed date

This commit is contained in:
Cory Dransfeldt 2023-09-19 18:06:42 -07:00
parent 4c66036e84
commit 804c9ded3f
No known key found for this signature in database

View file

@ -1,10 +1,10 @@
module.exports = async function () {
const { ActivityFeed } = await import('@11ty/eleventy-activity-feed')
const feed = new ActivityFeed()
// feed.addSource('rss', '📝', 'https://coryd.dev/feeds/posts')
feed.addSource('rss', '📝', 'https://coryd.dev/feeds/posts')
feed.addSource('rss', '🎥', 'https://letterboxd.com/cdme/rss')
// feed.addSource('rss', '🔗', 'https://coryd.dev/feeds/links')
// feed.addSource('rss', '📖', 'https://coryd.dev/feeds/books')
feed.addSource('rss', '🔗', 'https://coryd.dev/feeds/links')
feed.addSource('rss', '📖', 'https://coryd.dev/feeds/books')
const entries = feed.getEntries().catch()
const res = await entries
const activity = { posts: [] }