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:
+1
-1
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user