display cta only on home page

This commit is contained in:
2024-08-08 19:57:13 +02:00
parent 0dec498a61
commit ab16f62192

View File

@@ -94,7 +94,9 @@
<body id="top"{% if page.header.onload %} onload='{{ page.header.onload|raw }}'{% endif %}> <body id="top"{% if page.header.onload %} onload='{{ page.header.onload|raw }}'{% endif %}>
{# CTA banner #} {# CTA banner #}
{% if base_url_relative == '/' %}
<div class="cta">{% include 'partials/cta.html.twig' %}</div> <div class="cta">{% include 'partials/cta.html.twig' %}</div>
{% endif %}
{% block header %} {% block header %}
<div class="navigation"> <div class="navigation">