feat: add tags to shared content
This commit is contained in:
parent
64e434c6b9
commit
7216b848f4
8 changed files with 84 additions and 10 deletions
|
@ -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']
|
||||
|
||||
|
|
Reference in a new issue