mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-14 00:36:48 +00:00
Display and link participants
This commit is contained in:
@@ -26,3 +26,13 @@ block main
|
||||
|
||||
.content
|
||||
!=episode.content
|
||||
|
||||
if episode.participants.length
|
||||
h2 Teilnehmer
|
||||
ul.partcipants
|
||||
for participant in episode.participants
|
||||
li
|
||||
if participants[participant]
|
||||
a(href=`/team/#${participant}`)= participant
|
||||
else
|
||||
= participant
|
||||
|
||||
@@ -3,7 +3,7 @@ mixin sprite(id)
|
||||
use(xlink:href=`${assetPath("/img/sprite.svg")}#${id}`)
|
||||
|
||||
mixin member(m)
|
||||
li.member
|
||||
li.member(id=m.name)
|
||||
img(src=assetPath(m.image) alt=m.name loading="lazy")
|
||||
header
|
||||
h2=m.name
|
||||
|
||||
Reference in New Issue
Block a user