Add crew to team page (#2)

* Add crew to team page

* Add links for crew

* Update texts
This commit is contained in:
d11n
2021-08-16 21:32:03 +02:00
committed by GitHub
parent 1a0be8cb4d
commit a06f946cf4
12 changed files with 79 additions and 19 deletions

View File

@@ -10,21 +10,9 @@ block main
h1= title
ul.members(data-shuffle)
each m in shuffle(team)
li.member
img(src=assetPath(m.image) alt=m.name loading="lazy")
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")
if m.github
a(href=(m.github.startsWith('https://') ? m.github : `https://github.com/${m.github}`) target="_blank" title=`${m.name} on GitHub`)
+sprite("github")
if m.url
a(href=m.url target="_blank")
+sprite("url")
!=markdown(m.text)
+member(m)
section
h2 Crew
ul.members(data-shuffle)
each m in shuffle(crew)
+member(m)