v0.26.0

31 October 2026

The release adds default email templates with Mailer::message() and a setting for how admin fields start.

Added

  • Mailer::message($title, $body, $url, $label) sends a title, a text body and an optional button, with a matching plain-text part. It renders mail/message.latte inside mail/layout.latte; add either file to the site's views/mail/ to restyle it.
  • addons.phlat/admin.open sets how admin fields start: closed (the default), open or forced. A field's own open option still wins.

Fixed

  • Mailer::html() resolves the template to an absolute path first, so ./ includes inside a mail template work.
  • A page with an addon view takes its files from the addon's pages/ folder whenever that folder exists, even if the addon ships no _index.json for the page.