mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-30 09:45:31 +00:00
Personen DB Abfragen + Seiten
This commit is contained in:
22
views/routes/person/body.gohtml
Normal file
22
views/routes/person/body.gohtml
Normal file
@@ -0,0 +1,22 @@
|
||||
{{ $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>
|
||||
{{ $c.PreferredTitle }}
|
||||
{{ $c.Numbering }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user