Include the canticle's own citation in Lauds' resolved output

canticleText() built the resolved text/status from the weekday
canticle's verses but never copied the source YAML's own citation
field across, so every Lauds canticle rendered with no book/chapter/
verse citation at all despite the data already carrying one.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VFGHb4XMe6Wya4pGpPhEEi
This commit is contained in:
2026-08-29 07:33:15 -04:00
parent a6e4bb15b1
commit a3a9d568ed
+1 -1
View File
@@ -128,7 +128,7 @@ function canticleText(canticleId: string, slice?: [number, number]): ResolvedTex
} }
status[lang] = worst; status[lang] = worst;
} }
return { text, status }; return { text, status, citation: { la: canticle.citation, en: canticle.citation } };
} }
/** Ps 66 through the Laudate psalms — see hours/types.ts's 'lauds-psalmody' /** Ps 66 through the Laudate psalms — see hours/types.ts's 'lauds-psalmody'