File tree Expand file tree Collapse file tree
routes/inscription/[slug] Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script >
2- const { lettering } = $props ();
2+ const { lettering , handnoteDesc } = $props ();
33
44 const typeOfObj = $derived (Array .isArray (lettering) ? ' array' : lettering? ._ ? ' obj' : ' simple' );
55< / script>
66
7- {#snippet typesDetails (refs)}
7+ {#snippet typesDetails (/** @param {{target: string, _?: string}} */ refs)}
88 < details>
99 < summary> Types< / summary>
1010 < ul>
2121
2222 {#if typeof desc === ' object' }
2323 {#if desc .ref }
24- < p> {desc . _ }< / p>
24+ < p> {@html handnoteDesc ? . html }< / p>
2525 {: else }
2626 < p> {desc ._ }< / p>
2727 {/ if }
Original file line number Diff line number Diff line change @@ -247,7 +247,10 @@ ${changeDate ? `Last revised: ${changeDate}.` : ''}
247247 < dt> Lettering< / dt>
248248 < dd>
249249 {#if metadata? .handNote ? .lettering }
250- < InscriptionLettering lettering= {metadata .handNote .lettering } / >
250+ < InscriptionLettering
251+ lettering= {metadata .handNote .lettering }
252+ handnoteDesc= {html .handnote ? .[0 ]}
253+ / >
251254 {: else }
252255 {config .EMPTY_PLACEHOLDER }
253256 {/ if }
You can’t perform that action at this time.
0 commit comments