# Twig

Templates on the Tebex platform are written in the [Twig Templating Engine](https://twig.symfony.com/). Twig allows you to customise your store with control structures, similar to any other language, while maintaining a sandboxed and safe environment for the Tebex infrastructure.&#x20;

You're able to learn more information about the syntax of Twig by viewing the [official documentation](https://twig.symfony.com/doc/2.x/templates.html).

A common Twig file may look like the following:

```twig
<!DOCTYPE html>
<html>
    <head>
        <title>My Webpage</title>
    </head>
    <body>
        <ul id="navigation">
        {% for item in navigation %}
            <li><a href="{{ item.href }}">{{ item.caption }}</a></li>
        {% endfor %}
        </ul>

        <h1>My Webpage</h1>
        {{ a_variable }}
    </body>
</html>
```

{% hint style="info" %}
If you're interested in becoming a pro at the Twig syntax, you can complete the official [Twig certification programme](https://certification.symfony.com/exams/twig.html).&#x20;
{% endhint %}
