{% extends "@openform_front_templates/base.html.twig" %}
{% block bodyAttr %}data-page="home"{% endblock %}
{% set pageSubTitle = entity.Translation[app.request.locale].title %}
{% set metaTitle = entity.Translation[app.request.locale].metaTitle ? entity.Translation[app.request.locale].metaTitle : entity.Translation[app.request.locale].title %}
{% set metaDescription = entity.Translation[app.request.locale].metaDescription %}
{% set metaKeywords = entity.Translation[app.request.locale].metaKeywords %}
{% set pageImage = entity.imagePath ? openform_front_util.getImagePathByType(entity.Thumb,'list') : '' %}
{% block content %}
{% from '@openform_front_templates/_includes/_icons.html.twig' import arrowright %}
{# {% include "@openform_front_templates/Index/components/_visit.html.twig" %} #}
{% include "@openform_front_templates/_blocks_sections/block.html.twig" with { sections: openform_front_util.getSections(entity)|length > 0 ? openform_front_util.getSections(entity)|slice(0, 1) : '' } %}
{# {% include "@openform_front_templates/_blocks/_news.html.twig" with {featuredNews: featuredNews, entities: remainingNews} %} #}
{% include "@openform_front_templates/Index/components/_news.html.twig" with { 'featuredNews': featuredNews } %}
{% include "@openform_front_templates/_blocks_sections/block.html.twig" with { sections: openform_front_util.getSections(entity)|length > 0 ? openform_front_util.getSections(entity)|slice(1, openform_front_util.getSections(entity)|length) : '' } %}
{% endblock %}