There are three rules letting you start quickly with conftl syntax:
- Rule 1) Python code should be enclosed in tags {{...}}
- Rule 2) Python blocks must end with the keyword {{pass}}
- Rule 3) Variables are printed to output enclosed in tags and prepended with = like {{=i}}
Here is a simple quickstart example:
TEMPLATE | WILL OUTPUT
------------------------------------------
{{for i in range(0, 3):}} | 0 Hi, there!
{{=i}} Hi, there! | 1 Hi, there!
{{pass}} | 2 Hi, there!
------------------------------------------
More information and advanced usage can be found in the links below.