Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 716 Bytes

templating.md

File metadata and controls

22 lines (17 loc) · 716 Bytes
title level
Templating
advanced

Templating

All templating in Bolt is done through Twig.

Twig is a template library that's not only secure, fast and flexible, but it's also elegant and concise, so it's easy to use for both 'developer' and 'frontend' type persons.

Basically, everything that you can do 'vanilla' Twig, you can do in the Bolt templates. We've added a few tags of our own. Browse src/Twig/TwigExtension.php and src/Twig/SetcontentTokenParser.php for details.

More information on this subject can be found in Templates and Routes and Content in Templates.