🚀 New! Kestra raises $3 million to grow Learn more

The block tag is used to render the contents of a block more than once. In the following example we create a block with the name 'header':

{% block header %}
    <h1> Introduction </h1>
{% endblock header %}

Then the block tag can be used with the block function

{{ block("post") }}