{% extends "_layouts/main.html" %} {% import 'macros.twig' as macros %} {% block main %} {# ===================== SEC 1 ===================== #} {% set sec1 = entry.health_section_1.one() ?? null %} {% if sec1 %} {% set hero_img = sec1.image.one() ?? null %}
{# pag-tag = section_title_2 #} {% if sec1.section_title_2 %}

{{ macros.limpar_paragrafos(sec1.section_title_2) }}

{% endif %} {% if sec1.section_title %}

{{ macros.limpar_paragrafos(sec1.section_title) }}

{% endif %} {% if sec1.text %}

{{ macros.limpar_paragrafos(sec1.text) }}

{% endif %}
{% if hero_img %} {{ hero_img.title }} {% endif %}
{% endif %} {# ===================== SEC 2 ===================== #} {% set sec2 = entry.health_section_2.one() ?? null %} {% if sec2 %}
{% if sec2.section_title_main %}

{{ macros.limpar_paragrafos(sec2.section_title_main) }}

{% endif %}
{% if sec2.section_title %}

{{ macros.limpar_paragrafos(sec2.section_title) }}

{% endif %} {% if sec2.text %}

{{ macros.limpar_paragrafos(sec2.text) }}

{% endif %}
{% if sec2.section_title_2 %}

{{ macros.limpar_paragrafos(sec2.section_title_2) }}

{% endif %} {% if sec2.text_2 %}

{{ macros.limpar_paragrafos(sec2.text_2) }}

{% endif %}
{% endif %} {# ===================== SEC 3 (CTA) ===================== #} {% set sec3 = entry.health_section_3.one() ?? null %} {% if sec3 %} {% set cta_img = sec3.image.one() ?? null %}
{% if cta_img %} {{ cta_img.title }} {% endif %}
{% if sec3.section_title %}

{{ macros.limpar_paragrafos(sec3.section_title) }}

{% endif %} {% if sec3.btn_text %} {{ macros.limpar_paragrafos(sec3.btn_text) }} {% endif %}
{% endif %} {% endblock %}