mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
22 lines
434 B
Plaintext
22 lines
434 B
Plaintext
{{ $model := index . 0 }}
|
|
{{ $r := index . 1 }}
|
|
|
|
|
|
<a href="/reihe/{{ $r.MusenalmID }}">{{ $r.Title }}</a>
|
|
<div>
|
|
{{ Safe $r.Annotation }}
|
|
</div>
|
|
<div>
|
|
{{ $bds := index $model.relations $r.Id }}
|
|
{{ if $bds }}
|
|
{{ range $_, $rel := $bds }}
|
|
{{ $bd := index $model.entries $rel.Entry }}
|
|
{{ if $bd }}
|
|
<div>
|
|
<a href="/almanach/{{ $bd.MusenalmID }}">{{ $bd.Year }}</a>
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|