wtf-webseite/templates/blocks/flow_one_innerbox_section.html
2021-03-18 01:58:45 +01:00

16 lines
905 B
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) %}
<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">
{% 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>