We work as designers, and over the years we have fallen in love with XSLT for templating. XSLT allows you to transform XML to any other structure by applying templates and thus you can use it to generate HTML from structured data. The syntax looks like HTML and works like CSS conceptually.
In order to use XSLT with Kirby, we created a plugin providing the needed template component:
The plugin automatically creates an XML layer for each page that can be customized for each page individually that can be accessed by appending
?data to the current URL, see https://github.com/hananils/kirby-xslt#data.
This layer can then be used to apply XSL templates, see https://github.com/hananils/kirby-xslt#templates.