Template Syntax

There are some peculiarities in code used for inserting dynamic content in templates:

  • Wrap special syntax in HTML comment tag (<!– –>) This way template code remains compatible with ordinary HTML editors.
  • Inside the HTML comment tag Flamingo instruction is wrapped in braces ”{}”

The dynamic content used in your templates should look like:

<!--{ TEMPLATE SYNTAX CODE }-->

Inserting Comments

In flamingo resources, you cannot use ordinary HTML syntax to comment content. Instead, you can comment it using one of the following ways:

<!--{/*}--> ... <!--{*/}-->

-OR-

<!--{ /* ... */ }-->

Note

Besides, you can use the button in Code Editor to insert a comment automatically.