mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 16:26:50 +00:00
Remove team page
This commit is contained in:
@@ -36,9 +36,8 @@ const truncate = (str, wordCount) => {
|
||||
return [head, tail]
|
||||
}
|
||||
|
||||
const nostrUrl = pubkey => pubkey
|
||||
? `https://snort.social/p/${pubkey}`
|
||||
: null
|
||||
const memberUrl = member =>
|
||||
member.url || member.nostr ? `https://snort.social/p/${member.nostr}` : `https://twitter.com/${member.twitter}`
|
||||
|
||||
module.exports = {
|
||||
markdown: mdTransformer.render,
|
||||
@@ -46,5 +45,5 @@ module.exports = {
|
||||
slugify,
|
||||
stripHTML,
|
||||
truncate,
|
||||
nostrUrl
|
||||
memberUrl
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user