aboutsummaryrefslogtreecommitdiff
path: root/templates/ef/ordo.md
blob: fd8094f85fb159bff98cde133efc9182fa8bf59a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!-- colitur ordo booklet -- Markdown. flavour: none -->
<!-- Markdown's own metacharacters (*, _, `, [, ...) are context-dependent,
     so this template's flavour deliberately does NOT escape interpolated
     values. A feast name containing `*` or `_` will render as emphasis.
     That is a documented limitation, not a bug to fix. -->
<!-- The observed day's own display name is a PLAIN resolved string
     (View.of_days, Task 5), not a lang-keyed object -- there is no
     dotted-la-with-slug-fallback idiom to write here any more; a
     commemoration entry carries its own resolved display name too, so a
     commemoration line no longer prints the bare slug. Every fixed label
     (Ordo, Epistle, Gospel, Commemoration) comes from the view's term
     vocabulary rather than being written into this file, so a translated
     booklet needs no template edit. -->
<!-- Defect 2: Markdown has no page concept either, so this mainly needed
     the same header treatment as the paginated flavours, for structural
     consistency -- a ### per week under each month's ##, walking
     months>weeks>days (the week's own padded, in-month-guarded day
     list, not the flat unpadded one the old months>days loop used). -->
# {{term.ordo}} {{year}} · {{rite_name}}

{{#months}}
## {{name}}

{{#weeks}}
### {{term.week}} {{num}}

{{#days}}{{#in_month}}
**{{dom}}** {{name}}
`{{rank}}` · {{colour}}{{#first}} · {{term.epistle}} {{first}}{{/first}}{{#gospel}} · {{term.gospel}} {{gospel}}{{/gospel}}
{{#comms}}
- {{term.commemoration}} {{name}}
{{/comms}}

{{/in_month}}{{/days}}{{/weeks}}{{/months}}