Skip to content
Code on GitHub (opens in a new tab)

← All the news

Ehundu 0.3.2

Dates, in German too. fecha() writes months and days in German on pages in that language, capitalised as they are written, and “18. März 2025” by default; fecha('l j F Y') gives “Dienstag 18 März 2025”. Until now they came out in English, and a site with idioma: de warned about it on every build (docs/formato.md (opens in a new tab), §15.9, decision 89).

An impossible date inside a multi-line list no longer stops the build. Since 0.3.1, a date without quotes that does not exist, such as 2026-13-01, is read as the text it is. One case was missing: inside a list or a map in square brackets that spans several lines, the reading of the whole YAML still failed, with an error that pointed at the closing bracket (“Cerca de «]»”). Now it is read as text there too, and the same date written inside a text is left alone (§4, decision 88).

A feed with no entries no longer changes on every build. Its date (updated) was the moment of the build, so an empty feed came out different every time: it was rewritten in salida/ and uploaded again on every deployment, and the preview could give a different feed from the one of a full build. Now it always carries 1 January 1970 in the time zone of the site. With entries nothing changes: it carries the date of the most recent one (§10.2, decision 90).

0.3 sites build the same, file by file, except in two things: on pages in German, the dates that fecha() writes come out in German and not in English, and a feed with no entries carries the date of 1970.

This version on GitHub (opens in a new tab), with the ehundu.phar.