better piece eq

This commit is contained in:
Simon Martens
2025-09-20 01:21:26 +02:00
parent 5dcda918f0
commit 8f4ad4bfca
7 changed files with 454 additions and 265 deletions

View File

@@ -82,10 +82,10 @@
<!-- Content area -->
<div class="space-y-0">
{{ if $pageEntry.OtherPieces }}
<div class="italic text-slate-600 text-xs pt-1 pb-1">Außerdem:</div>
{{ range $otherPiece := $pageEntry.OtherPieces }}
<div class="inhalts-entry py-1 px-0 bg-slate-50 rounded hover:bg-slate-100 transition-colors duration-200"
data-page="{{ $pageEntry.PageNumber }}">
<div class="italic text-slate-600 text-xs mb-1">Außerdem:</div>
{{ template "_inhaltsverzeichnis_eintrag" $otherPiece.PieceByIssue }}
</div>
{{ end }}