chore: clean up webmention comments + styles
This commit is contained in:
parent
d31d0fcdd5
commit
f496e29f0a
4 changed files with 8 additions and 13 deletions
|
@ -55,6 +55,8 @@ export default {
|
|||
if (url.includes('trakt.tv')) return '#Movies #Watching #Trakt'
|
||||
return tagMap[url] || ''
|
||||
},
|
||||
|
||||
// webmentions
|
||||
webmentionsByUrl: (webmentions, url) => {
|
||||
if (!webmentions) return null;
|
||||
|
||||
|
@ -114,6 +116,9 @@ export default {
|
|||
|
||||
return data
|
||||
},
|
||||
webmentionsSanitizeComments: (comment) => {
|
||||
return comment.replace(/\?\?\?\?/g, '');
|
||||
},
|
||||
|
||||
// dates
|
||||
readableDate: (date) => {
|
||||
|
|
Reference in a new issue