templates/Default/homepage/homepage.html.twig line 1

Open in your IDE?
  1. {% extends "Default/layout.html.twig" %}
  2. {% set page_title = 'homepage.metatitle' | trans %}
  3. {% set page_meta_description = 'homepage.metadescription' | trans %}
  4. {% set page_meta_keywords = 'homepage.metakeywords' | trans %}
  5. {% set page_meta_keywords = 'homepage.metakeywords' | trans %}
  6. {% set page_class = 'page-home' %}
  7. {% block page_content %}
  8.     {% include 'Default/_engine_form.html.twig'
  9.         with {
  10.             'h1' : 'homepage.search.h1' | trans,
  11.             'h2' : 'homepage.search.h2' | trans,
  12.             'class': 'engine-type-bus'
  13.         }
  14.     %}
  15.     {#<img src="{{ '/images/homepage/howitworks_find.png' |imagine_filter('my_thumb') }}" />#}
  16.     {% if fbcontest is defined and app.request.locale == 'fr' %}
  17.         <section class="homepage">
  18.             <div class="container">
  19.                 <h1>Concours Facebook : Gagnez un billet aller-retour en bus </h1>
  20.                 <a href="{{ fbcontest }}">
  21.                     <img class="img-full-row-centered" alt="Jeu concours Facebook - un aller-retour en bus à gagner" src="{{asset('images/jeu-concours-page-home.jpg')}}" />
  22.                 </a>
  23.             </div>
  24.         </section>
  25.     {% endif %}
  26.     {% if app.request.locale in ['it', 'es'] %}
  27.         {% include 'Default/homepage/homepage_map.html.twig' %}
  28.     {% endif %}
  29.     {% include 'Default/homepage/homepage_howitworks.html.twig' %}
  30.     {% include 'Default/homepage/homepage_partners.html.twig' %}
  31.     {% include 'Default/homepage/homepage_topdestinations.html.twig' %}
  32.     {% include 'Default/homepage/homepage_whatis.html.twig' %}
  33.     {% if app.request.locale == 'fr'%}
  34.         {% include 'Default/homepage/homepage_why.html.twig' %}
  35.     {% endif %}
  36.     {#<a href="{{ path('train_horaire_index') }}">Train</a>#}
  37. {% endblock %}