Add Nostr links

This commit is contained in:
Dennis Reimann
2023-02-03 22:59:54 +01:00
parent 03660f3216
commit 4142d21d0f
6 changed files with 23 additions and 11 deletions

View File

@@ -17,9 +17,9 @@ mixin member(m)
header
h2=m.name
.links
if m.mastodon
a(href=(m.mastodon) target="_blank" rel="nofollow noopener" title=`${m.name} on Mastodon`)
+sprite("mastodon")
if m.nostr
a(href=nostrUrl(m.nostr) target="_blank" rel="nofollow noopener" title=`${m.name} on Nostr`)
+sprite("nostr")
if m.twitter
a(href=(m.twitter.startsWith('https://') ? m.twitter : `https://twitter.com/${m.twitter}`) target="_blank" rel="nofollow noopener" title=`${m.name} on Twitter`)
+sprite("twitter")