{# Define if sidebar is shown in the page #} {% set show_image = header_var('show_pageimage')|defined(true) %} {# Define if the primary image and the attributes of width and height are shown #} {% set image = page.media[page.header.primaryImage] ?: page.media.all|filter((v) => (v.type == 'image' or v.type == 'vector'))|first %} {% set img_width = header_var('image_width')|default(1038) %} {% set img_height = header_var('image_height')|default(437) %} {# Set title and subtitle #} {% set title = page.title|raw %} {% set subtitle = page.header.subtitle|raw %} {# Set columns for features page #} {% set columns = page.header.layout == 'standard' ? 'col-4 col-6-medium col-12-small' : 'col-6 col-12-small' %}

{{ title }}

{% if subtitle %}

{{ subtitle }}

{% endif %}
{% if show_image and image %} {{ image.cropZoom(img_width,img_height).loading('lazy').attribute('decoding','async').html(title, title, 'image featured')|raw }} {% endif %} {{ page.content|raw }}
{% for feature in page.header.features %}
{% if feature.image %} {{feature.title}} {% endif %}
{% if feature.title %}

{{feature.title|raw}}

{% endif %} {% if feature.text %}

{{feature.text|raw}}

{% endif %} {% if feature.buttonurl %}

{{feature.buttontext|raw}}

{% endif %}
{% endfor %}