diff options
Diffstat (limited to 'lib/render')
| -rw-r--r-- | lib/render/view.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/render/view.ml b/lib/render/view.ml index bbb8c7d..7bd5416 100644 --- a/lib/render/view.ml +++ b/lib/render/view.ml @@ -191,6 +191,12 @@ let of_days ~lang ~vocab ~rite ~year days = in T.Obj [ ("rite", str rite); + (* The reader-facing display name (lang/*.ini's own [rite] section, + Defect 1) -- [rite] itself stays the stable internal key, exactly + as [slug] is kept beside [name] on a day/commemoration. Every + template that used to print the bare id ("ef") now prints this + field instead. *) + ("rite_name", str (Lang.rite lang rite)); ("year", str (string_of_int year)); ("term", term_value lang); ("weekday_headings", weekday_headings lang); |
