Split Terce/Sext/None Preces into always-shown Kyrie/Pater + ferial-only versicles
Kyrie eleison and Pater Noster now render every day regardless of rank (minor-hour-kyrie-pater); the further Preces V/R versicle pairs are ferial-only, dropped on Sunday and any sanctoral winner. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017XMSokiTD2Qc5vPP2YQu3Q
This commit is contained in:
@@ -14,6 +14,7 @@ import {
|
||||
resolveMinorHourAntiphon,
|
||||
resolveMinorHourChapter,
|
||||
resolveSelfContainedHymn,
|
||||
isFerialOrVigil,
|
||||
} from './resolve-common';
|
||||
import noneDefinitionData from '../data/hours/none.yml';
|
||||
import antiphonsData from '../data/hours/none-antiphons.yml';
|
||||
@@ -32,6 +33,7 @@ function resolvePart(part: HourPart, day: LiturgicalDay): ResolvedPart[] {
|
||||
case 'day-collect':
|
||||
return [{ kind: 'prayer', text: getDayCollect(day) }];
|
||||
case 'preces':
|
||||
if (part.ferialOnly && !isFerialOrVigil(day)) return [];
|
||||
return [{ kind: 'preces', text: resolveCommon(part.textRef.id), label: part.label }];
|
||||
case 'variable': {
|
||||
// Only 'by-weekday' applies here — one antiphon framing all three
|
||||
|
||||
Reference in New Issue
Block a user