mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 08:46:49 +00:00
🛠 Podcast and Team pages
This commit is contained in:
17
src/team.pug
17
src/team.pug
@@ -2,20 +2,21 @@ extends /template.pug
|
||||
|
||||
block main
|
||||
section#team
|
||||
h1 Team
|
||||
ul.members
|
||||
each m in team
|
||||
.lead
|
||||
h1 Team
|
||||
ul.members(data-shuffle)
|
||||
each m in shuffle(team)
|
||||
li.member
|
||||
img(src=(assetPath(m.image)) alt=m.name loading="lazy")
|
||||
h4=m.name
|
||||
p(style=(m.name.startsWith('Arik') ? 'word-break:break-all;' : null))=m.text
|
||||
h2=m.name
|
||||
!=renderMarkdown(m.text)
|
||||
.links
|
||||
if m.twitter
|
||||
a(href=(m.twitter.startsWith('https://') ? m.twitter : `https://twitter.com/${m.twitter}`) target="_blank" title=`${m.name} on Twitter`)
|
||||
a.plain(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`)
|
||||
a.plain(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")
|
||||
a.plain(href=m.url target="_blank")
|
||||
+sprite("url")
|
||||
|
||||
Reference in New Issue
Block a user