Finally a template engine that does
not require learning a new language or syntax.

Most of today's templating engines mix code for the required rendering logic with HTML markup in one file and require developers to learn their respective language as well as syntax.

Templado follows a different approach on templating: Being in part inspired by Tempan, Templado relies solely on plain and standard HTML markup with RDFa Lite annotations. The limited amount of display logic required is contained within the engine and triggered by the view model, snippet or form when being applied to the Page.

Always ready to preview

As a Templado template is plain HTML, previewing is as easy as opening the HTML file with a browser. Example data can and should be included as the engine will clean it up based on the view model upon rendering.

Form handling included

To make form handling even more easy, Templado comes with explicit HTML Form support. Based on supplied Input data, Templado will repopulate the HTML form and even include your CSRF protection code.

No markup duplication

Templado features snippet support, mapping a list of snippets based on their ID into a given HTML Page. To automate this process Templado CLI can be used. Combined with a File watcher in your IDE, you can have an always up-to-date set of HTML pages without ever writing a block twice.

Custom Transformations and Filters

Templado allows for custom transformations, like adding a class to every <a> tag and string based replacement filters upon serialization.