Compartmentalization of Links

This commit is contained in:
Simon Martens
2025-09-29 19:19:17 +02:00
parent 52758c0124
commit bff07a58e6
9 changed files with 122 additions and 154 deletions

View File

@@ -141,8 +141,8 @@
{{- range $groupKey, $groupedItems := $groupedPieces -}}
<div class="pb-1 leading-relaxed">
{{- /* Use first piece for display text with colon format for places */ -}}
{{ template "_unified_piece_entry" (dict "Piece" (index $groupedItems 0) "CurrentActorID" "" "DisplayMode" "place" "ShowPlaceTags" false "UseColonFormat" true "ShowContinuation" false) }}
{{- /* Use piece link component for consistent linking with colon format for places */ -}}
{{ template "_piece_link" (dict "Piece" (index $groupedItems 0) "DisplayMode" "place" "ShowUnifiedEntry" true "LongForm" false) }}
{{- /* Show all citations from all pieces in this group inline with commas */ -}}
{{ " " }}{{- range $groupIndex, $groupItem := $groupedItems -}}

View File

@@ -59,8 +59,8 @@
{{- range $groupKey, $groupedItems := $groupedPieces -}}
<div class="break-inside-avoid">
<div class="pb-1 indent-4">
{{- /* Use first piece for display text with colon format for places */ -}}
{{ template "_unified_piece_entry" (dict "Piece" (index $groupedItems 0) "CurrentActorID" "" "DisplayMode" "place" "ShowPlaceTags" false "UseColonFormat" true "ShowContinuation" false) }}
{{- /* Use piece link component for consistent linking with colon format for places */ -}}
{{ template "_piece_link" (dict "Piece" (index $groupedItems 0) "DisplayMode" "place" "ShowUnifiedEntry" true "LongForm" false) }}
{{- /* Show all citations from all pieces in this group inline with commas */ -}}
{{ " " }}{{- range $groupIndex, $groupItem := $groupedItems -}}