webseite/templates/blocks/flow_one_innerbox_section.html

21 lines
1.1 KiB
HTML

<div class="content__inner_third_box">
<h2 class="content__inner_third_heading">{{ this.title }}</h2>
{% if this.box_image is defined and this.box_image != '' %}
{% set image = record.attachments.images.get(this.box_image) %}
<div class="image_box">
<div class="image_box__image">
<div class="image_box__top_bar"></div>
<img class="content__inner_third_image" class="content__half_box_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="Startendes Space Shuttle" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x">
</div>
</div>
{% endif %}
{{ this.box_content }}
<div class="content__button_box">
<button class="content__button">
<a class="content__inner_third_button_link" href="{{ this.box_url }}">{{ this.box_link }}</a>
</button>
</div>
</div>