fix: lint md files
This commit is contained in:
parent
7b21a5b384
commit
55b45b8305
7 changed files with 43 additions and 36 deletions
|
@ -9,27 +9,27 @@ I've discussed [building a now page using Eleventy](/posts/2023/building-my-now-
|
|||
|
||||
```javascript
|
||||
module.exports = class {
|
||||
data() {
|
||||
return {
|
||||
permalink: '/follow.xml',
|
||||
}
|
||||
}
|
||||
data() {
|
||||
return {
|
||||
permalink: '/follow.xml',
|
||||
}
|
||||
}
|
||||
|
||||
async render() {
|
||||
const { ActivityFeed } = await import('@11ty/eleventy-activity-feed')
|
||||
const feed = new ActivityFeed()
|
||||
feed.addSource('atom', 'Blog', 'https://coryd.dev/feed.xml')
|
||||
feed.addSource('rss', 'Letterboxd', 'https://letterboxd.com/cdme/rss')
|
||||
feed.addSource('rss', 'Glass', 'https://glass.photo/coryd/rss')
|
||||
feed.addSource('rss', 'Oku', 'https://oku.club/rss/collection/NvEmF')
|
||||
|
||||
return feed.toRssFeed({
|
||||
title: "Cory Dransfeldt's activity feed",
|
||||
language: 'en',
|
||||
url: 'https://coryd.dev/follow/',
|
||||
subtitle: "Cory Dransfeldt's activity across the web.",
|
||||
})
|
||||
}
|
||||
const { ActivityFeed } = await import('@11ty/eleventy-activity-feed')
|
||||
const feed = new ActivityFeed()
|
||||
feed.addSource('atom', 'Blog', 'https://coryd.dev/feed.xml')
|
||||
feed.addSource('rss', 'Letterboxd', 'https://letterboxd.com/cdme/rss')
|
||||
feed.addSource('rss', 'Glass', 'https://glass.photo/coryd/rss')
|
||||
feed.addSource('rss', 'Oku', 'https://oku.club/rss/collection/NvEmF')
|
||||
|
||||
return feed.toRssFeed({
|
||||
title: "Cory Dransfeldt's activity feed",
|
||||
language: 'en',
|
||||
url: 'https://coryd.dev/follow/',
|
||||
subtitle: "Cory Dransfeldt's activity across the web.",
|
||||
})
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -49,4 +49,4 @@ If you elect to use Make for something like this you'll need to leverage the RSS
|
|||
You should now see posts from your follow feed being sent off to your Mastodon instance as they're updated.
|
||||
|
||||
[^1]: A drag and drop automation service much like Zapier or IFTTT.
|
||||
[^2]: For the sake of vanity or clarity with respect to the source of the post.
|
||||
[^2]: For the sake of vanity or clarity with respect to the source of the post.
|
||||
|
|
|
@ -46,4 +46,4 @@ When the select is changed, Javascript is executed to update the current uri to
|
|||
})()
|
||||
```
|
||||
|
||||
[You can see all of that rendered here.](https://coryd.dev/#pagination)
|
||||
[You can see all of that rendered here.](https://coryd.dev/#pagination)
|
||||
|
|
Reference in a new issue