Twig is the default template engine in PieCrust, but you can use
for your template files extensions or page configuration settings if that’s not
the case. There’s a little crash course for you on the templates documentation
page, along with a presentation of the extensions relevant to your
Twig will look at the following site configuration settings during initialization:
twig/auto_escape: by default, Twig will auto-escape any content, so you want to render HTML directly, you have to use the
twig/auto_escapeis set to
false, then Twig will stop auto-escaping, and you will have to do it explicitely.
Mustache can be used with the
mustache template file extension or page
configuration setting. It’s a very simple template engine with an easy to
remember syntax that doesn’t have any of the “programming” constructs of the
other engines on purpose.