feat: add tags to shared content

This commit is contained in:
Cory Dransfeldt 2023-09-08 12:42:44 -07:00
parent 64e434c6b9
commit 7216b848f4
No known key found for this signature in database
8 changed files with 84 additions and 10 deletions

View file

@ -42,6 +42,9 @@ module.exports = {
return visitors(b) - visitors(a)
})
},
tagLookup: (url, tagMap) => {
return tagMap[url]
},
webmentionsByUrl: (webmentions, url) => {
const allowedTypes = ['mention-of', 'in-reply-to', 'like-of', 'repost-of']