🐘 Add Mastodon links

This commit is contained in:
Dennis Reimann
2021-01-12 15:52:51 +01:00
parent 1a31c5b679
commit 6a2937d1bf
3 changed files with 7 additions and 0 deletions

View File

@@ -15,6 +15,9 @@ block main
header
h2=m.name
.links
if m.mastodon
a(href=(m.mastodon) target="_blank" title=`${m.name} on Mastodon`)
+sprite("mastodon")
if m.twitter
a(href=(m.twitter.startsWith('https://') ? m.twitter : `https://twitter.com/${m.twitter}`) target="_blank" title=`${m.name} on Twitter`)
+sprite("twitter")