templates/front/main/home.html.twig line 1

Open in your IDE?
  1. {% extends 'front/base_front.html.twig' %}
  2. {% block title %}{{ homePage.title }}{% endblock %}
  3. {% block SEO %}
  4.     {% if seo.homeSeoTitle is not empty %}
  5.         <meta name="title" content="{{ seo.homeSeoTitle }}">
  6.     {% endif %}
  7.     {% if seo.homeSeoDescription is not empty %}
  8.         <meta name="description" content="{{ seo.homeSeoDescription }}">
  9.     {% endif %}
  10. {% endblock %}
  11. {% block stylesheets %}
  12.     {{ parent() }}
  13.     {{ encore_entry_link_tags('app') }}
  14. {% endblock %}
  15. {% block container %}
  16.     {# <!-- Banner Area --> #}
  17.     {{ include('front/main/subheader/slider.html.twig') }}
  18.     <div {{ react_component('HomeTabs/HomeSearchTabs', {
  19.         p_locale : app.session.get('_locale') ?? app.request.locale,
  20.         p_autocomplete : true,
  21.         p_hotel : modules['Hotel'],
  22.         p_flight : modules['Flight'],
  23.         p_transfer : modules['Transfer'],
  24.         p_hotelSuggestions : hotelSuggestions,
  25.         p_flightSuggestions : flightSuggestions,
  26.     }) }}>
  27.     </div>
  28.     {# {{ include('front/main/recent_search/recent_search_hotel.html.twig') }} #}
  29.     {% for zone in zones %}
  30.         {% if zone.active and zone.items is not empty %}
  31.             {{ include ('front/main/zones/zone'~zone.view~'.html.twig') }}
  32.         {% endif %}
  33.     {% endfor %}
  34.     {{ include('front/main/sections/sections_top_' ~ app.request.locale ~ '.html.twig') }}
  35.     {{ include('front/main/sections/section_b2b.html.twig') }}
  36.     {#  {{ include('front/main/sections/sections_bottom_' ~ app.request.locale ~ '.html.twig') }} #}
  37.     {% include 'front/_faq.html.twig' with { faqs: faqs } only %}
  38. {% endblock %}