{% load i18n cms_tags thumbnail %}

<div class="content__intro reveal_container reveal_self reveal reveal_animation{% if request.current_page.imageextension.image %} image{% endif %}">
    <h1 class="reveal reveal_animation">
        {% if content_title %}
            {{ content_title }}
        {% else %}
            {% page_attribute page_title %}
        {% endif %}
    </h1>
    {% if request.current_page.imageextension.image %}
        {% thumbnail request.current_page.imageextension.image 1600x800 box=request.current_page.imageextension.cropping crop detail as thumb %}
        <div class="content__intro__image scroll reveal reveal_animation" data-ease-multiplier="-2"
             style="background-image: url({{ thumb.url }})"></div>
    {% endif %}
</div>