‚ÄčProgramming languages

‚ÄčTemplates are written in HTML5 and CSS. For dynamic parts, you can use JavaScript and Twig.

Twig has an extensive online documentation for template developers http://twig.sensiolabs.org/doc/templates.html. For security reasons, only a subset of Twig is allowed in templates. Some tags and functions are blocked because they might open up security vulnerabilities.

Blocked Twig tags

  • do
  • embed
  • extends
  • from
  • import
  • include
  • sandbox
  • use

Blocked Twig functions

  • dump
  • include

Blocked Twig filters

No filters are blocked right now, but that may change if security issues arise.