Introducing the New Code Block

Die Schritte wurden lauter und lauter, er sah eine dunkle Gestalt um die Ecke biegen.

Optionaler Titel

{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        

Optionaler Titel

{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        

Optionaler Titel

{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        

Optionaler Titel

{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        

Optionaler Titel

{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        

Optionaler Titel

{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        
{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        
{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}
        
{# templates/blocks/h2-block.html.twig #}

{% if block.title is defined and block.title %}
    <div class="h2-block">
        <h2 class="title">{{ block.title ]]</h2>

        {% if block.subtitle is defined and block.subtitle %}
            <h3 class="subtitle">{{ block.subtitle ]]</h3>
        {% endif %}

        {% if block.intro is defined and block.intro %}
            <p class="intro">{{ block.intro ]]</p>
        {% endif %}
    </div>
{% endif %}