aboutsummaryrefslogtreecommitdiff
path: root/lib/render/dune
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 22:33:07 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 22:33:07 +0200
commit671c4264707ec8c81845059746632b00f2481d88 (patch)
tree790100dcc0077532d9446478e51d4cd40209c1c6 /lib/render/dune
parent1988d350242b47aa52aa07904c495e7e2c0eba82 (diff)
downloadcolitur-671c4264707ec8c81845059746632b00f2481d88.tar.gz
colitur-671c4264707ec8c81845059746632b00f2481d88.zip
fix(render): a month answers to both spellings of its own name
A week object carries month_name/month_num/month_abbr, because at that level a bare `name` would be ambiguous. An author who learned those names inside {{#weeks}} reaches for them one level up inside {{#months}} too -- where they resolved to nothing, and an unknown key renders as the empty string by design, so the result was a silently blank month heading rather than any error. Found by writing a template from scratch rather than copying a shipped one; every shipped template sidesteps it, which is why nothing caught it. The aliases are additive, so no existing template or golden changes. colitur-templates(5) now documents both spellings and says why they exist.
Diffstat (limited to 'lib/render/dune')
0 files changed, 0 insertions, 0 deletions