mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 00:36:48 +00:00
Various improvements
This commit is contained in:
@@ -9,16 +9,16 @@ mixin member(m)
|
||||
h2=m.name
|
||||
.links
|
||||
if m.mastodon
|
||||
a(href=(m.mastodon) target="_blank" title=`${m.name} on Mastodon`)
|
||||
a(href=(m.mastodon) target="_blank" rel="nofollow noopener" 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`)
|
||||
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")
|
||||
if m.github
|
||||
a(href=(m.github.startsWith('https://') ? m.github : `https://github.com/${m.github}`) target="_blank" title=`${m.name} on GitHub`)
|
||||
a(href=(m.github.startsWith('https://') ? m.github : `https://github.com/${m.github}`) target="_blank" rel="nofollow noopener" title=`${m.name} on GitHub`)
|
||||
+sprite("github")
|
||||
if m.url
|
||||
a(href=m.url target="_blank")
|
||||
a(href=m.url target="_blank" rel="nofollow noopener")
|
||||
+sprite("url")
|
||||
if m.text
|
||||
!=markdown(m.text)
|
||||
|
||||
Reference in New Issue
Block a user