chore: misc cleanup
This commit is contained in:
parent
794ba63876
commit
1806afc9aa
6 changed files with 7 additions and 2 deletions
|
@ -1,11 +1,13 @@
|
|||
export default 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/movies')
|
||||
feed.addSource('rss', '📖', 'https://coryd.dev/feeds/books')
|
||||
feed.addSource('rss', '🔗', 'https://coryd.dev/feeds/links')
|
||||
feed.addSource('rss', '🎧', 'https://coryd.dev/feeds/weekly-artist-chart')
|
||||
|
||||
const entries = feed.getEntries().catch()
|
||||
const res = await entries
|
||||
const activity = { posts: [] }
|
||||
|
@ -19,5 +21,6 @@ export default async function () {
|
|||
date_published: entry.published,
|
||||
})
|
||||
})
|
||||
|
||||
return activity
|
||||
}
|
Reference in a new issue