Update team data structure

This commit is contained in:
Dennis Reimann
2022-04-19 13:19:36 +02:00
parent f15e653fb6
commit 425a807489
5 changed files with 21 additions and 26 deletions

View File

@@ -32,7 +32,7 @@ block main
ul.partcipants
for participant in episode.participants
li
if participants[participant]
if team[participant.toLowerCase()]
a(href=`/team/#${participant}`)= participant
else
= participant

View File

@@ -3,8 +3,9 @@ extends /template.pug
block vars
- const title = 'Team'
- const description = 'Einmal die Woche sitzen diese Jungs zusammen und besprechen die aktuellen Geschehnisse in Bitcoin und der Welt.'
- const core = team.slice(0, 5)
- const crew = team.slice(5)
- const members = Object.values(team)
- const core = members.slice(0, 5)
- const crew = members.slice(5)
block main
#team.wrap