updated bios structure and decap config

This commit is contained in:
Jannik Menzel 2025-06-23 19:29:36 +02:00
parent f7e77b517a
commit 055a02da7b
3 changed files with 333 additions and 339 deletions

View file

@ -7,12 +7,13 @@
<p><strong>Studiengang:</strong> {{ .Get "studiengang" }}</p>
{{ with .Get "bio" }}
{{ $bios := site.Data.bios }}
{{ $lang := $.Site.Language.Lang }}
{{ $key := . }}
{{ with index $bios $key }}
{{ with index . $lang }}
<p>{{ . | markdownify }}</p>
{{ $bioId := . }}
{{ range site.Data.bios.candidates }}
{{ if eq .id $bioId }}
{{ with index . $lang }}
<p>{{ . | markdownify }}</p>
{{ end }}
{{ end }}
{{ end }}
{{ else }}