Refactored eintrag

This commit is contained in:
Simon Martens
2025-09-19 19:26:26 +02:00
parent 1d218f55b8
commit 2e6803afbe
6 changed files with 289 additions and 146 deletions

View File

@@ -56,6 +56,23 @@
</div>
{{ end }}
</div>
<!-- Other pieces on this page -->
{{ if $pageEntry.OtherPieces }}
<div class="mt-4 p-4 bg-blue-50 border border-blue-200 rounded">
<h4 class="text-sm font-semibold text-blue-800 mb-3 flex items-center gap-2">
<i class="ri-file-list-2-line"></i>
Außerdem auf dieser Seite:
</h4>
<div class="space-y-2">
{{ range $otherPiece := $pageEntry.OtherPieces }}
<div class="text-sm">
{{ template "_inhaltsverzeichnis_eintrag" $otherPiece }}
</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
{{ end }}
</div>