mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
25 lines
497 B
Plaintext
25 lines
497 B
Plaintext
{{ $model := . }}
|
|
|
|
{{ if .entries }}
|
|
<h2>Bände nach Riehentiteln</h2>
|
|
{{ range $id, $r := .series }}
|
|
<div>
|
|
{{ template "_reihe" (Arr $model $r) }}
|
|
</div>
|
|
{{ end }}
|
|
{{ else }}
|
|
<div>Keine Bände</div>
|
|
{{ end }}
|
|
|
|
{{ if .contents }}
|
|
<h2>Inhalte</h2>
|
|
{{ range $id, $c := .contents }}
|
|
<div>
|
|
{{ $e := index $model.centries $c.Entry }}
|
|
<a href="/almanach/{{ $e.MusenalmID }}">{{ $e.PreferredTitle }}</a>
|
|
{{ $c.PreferredTitle }}
|
|
{{ $c.Numbering }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|