templates/page/privacy_policy/index.html.twig line 1

Open in your IDE?
  1. {% extends 'layout/base.html.twig' %}
  2. {% set lang = app.session.get('locale')|default('en') %}
  3. {% block title %}Privacy Policy – {{ parent() }}{% endblock %}
  4. {% block seo_en %}{{ url('privacy_policy_index') }}{% endblock %}
  5. {% block seo_hu %}{{ url('privacy_policy_index', {'lang': 'hu'}) }}{% endblock %}
  6. {% block seo_x %}{{ url('privacy_policy_index') }}{% endblock %}
  7. {% block body_classes %}policy-index{% endblock %}
  8. {% block content %}
  9.     <article class="policy-page article">
  10.         {% include 'page/privacy_policy/components/header.html.twig' %}
  11.         {%
  12.             include 'page/privacy_policy/components/content.html.twig'
  13.             with {
  14.             content: lang == 'hu' ? privacyPolicy.contentHu : privacyPolicy.content
  15.             } only
  16.         %}
  17.     </article>
  18.     {% include 'common/components/contact_form.html.twig' with { defaultInquiry: true } only %}
  19. {% endblock %}