mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-30 09:35:31 +00:00
More CSS & sorting of T array by keys
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
{{ $model := .model }}
|
||||
|
||||
|
||||
<div>Inhalt</div>
|
||||
<div>
|
||||
{{ range $page := $model.Pieces.Pages }}
|
||||
<div>
|
||||
<div>Seite {{ $page }}</div>
|
||||
|
||||
<div class="pt-4">
|
||||
<div class="">Seite {{ $page }}</div>
|
||||
<ol class="list-disc" >
|
||||
{{ range $piece := (index $model.Pieces.Items $page) }}
|
||||
<li class="ml-0" >
|
||||
{{ template "_inhaltsverzeichnis_eintrag" $piece }}
|
||||
|
||||
|
||||
<!-- Links zu anderen Teilen: -->
|
||||
{{ if gt (len $piece.IssueRefs) 1 }}
|
||||
<div>
|
||||
@@ -33,9 +32,11 @@
|
||||
</ol>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
|
||||
<!-- Pages end -->
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user