templates/guest.html.twig line 1

Open in your IDE?
  1. {% if block('javascripts_top') is not defined %}{% block javascripts_top %}{% endblock %}{% endif %}
  2. {% if block('stylesheets') is not defined %}{% block stylesheets %}{% endblock %}{% endif %}
  3. {% if block('javascripts_bottom') is not defined %}{% block javascripts_bottom %}{% endblock %}{% endif %}
  4. {% if block('after_body') is not defined %}{% block after_body %}{% endblock %}{% endif %}
  5. {% if block('before_body') is not defined %}{% block before_body %}{% endblock %}{% endif %}
  6. {% include '_page/_core/_header.html.twig' with {
  7.     javascripts_top: block('javascripts_top'),
  8.     stylesheets: block('stylesheets'),
  9.     stylesheetsUrl: '_page/_guest/_styles.html.twig',
  10.     after_body: block('after_body'),
  11.     before_body: block('before_body'),
  12. } %}
  13. {# {% include '_page/_guest/_top.html.twig' %} #}
  14. {% include '_page/_guest/_nav.html.twig' %}
  15.  {% if app.request.get('_route') == 'home' %}
  16.      {% include '_page/_guest/_hero.html.twig' %}
  17.  {% endif %}
  18. <main id="main" class="main">
  19.     {% if app.request.get('_route') != 'home' %}
  20.         {% include '_page/_guest/_breadcrumb.html.twig' %}
  21.     {% endif %}
  22.     {% if app.request.get('_route') != 'home' %}
  23.     <section class="inner-page">{% endif %}
  24.         <div class="container">
  25.             {% include "_page/_core/_messages.html.twig" %}
  26.         </div>
  27.         {% block body %}{% endblock %}
  28.         {% if app.request.get('_route') != 'home' %}</section>{% endif %}
  29. </main>
  30. {% include '_page/_core/_footer.html.twig' with {
  31.     javascripts_bottom: block('javascripts_bottom'),
  32.     footerUrl: '_page/_guest/_footer.html.twig',
  33.     javascriptsUrl: '_page/_guest/_scripts.html.twig',
  34. } %}
  35. {% include "_page/_content/_logoutModal.html.twig" %}