src/Resources/views/Frontend/landing/cgv-pro.html.twig line 1

Open in your IDE?
  1. {% extends 'frontend/frontend_pro.html.twig' %}
  2. {% block meta_robot %}
  3.     {{ parent() }}
  4.     <link rel="canonical" href="{{ url('frontend_cgv_pro') }}"/>
  5.     {{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
  6. {% endblock %}
  7. {% block meta_title %}{{ 'seo.landing.cgv-pro.title'|trans({}, "seo") }}{% endblock %}
  8. {% block meta_desc %}{{ 'seo.landing.cgv-pro.desc'|trans({}, "seo") }}{% endblock %}
  9. {% block body_content %}
  10.     {% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %}
  11.         {% include '/Frontend/landing/cgv/pro/pt/portugal_pro_content.html.twig' with {'header': true } %}
  12.     {% elseif is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_BELGIUM')) %}
  13.         {% include '/Frontend/landing/cgv/pro/be/belgium_pro_content.html.twig' with {'header': true } %}
  14.     {% elseif is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_SPAIN')) %}
  15.         {% include '/Frontend/landing/cgv/pro/es/spain_pro_content.html.twig' with {'header': true } %}
  16.     {% else %}
  17.         {% include '/Frontend/landing/cgv/pro/_cgv_pro_content.html.twig' with {'header': true } %}
  18.     {% endif %}
  19. {% endblock body_content %}