templates/bundles/SyliusShopBundle/layout.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|slice(0, 2) }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>{% block title %}Hephaestos{% endblock %}</title>
  7. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  8. {% block metatags %}
  9. {% endblock %}
  10. {% block stylesheets %}
  11. {% include '@SyliusUi/_stylesheets.html.twig' with {'path': 'assets/shop/css/style.css'} %}
  12. {{ encore_entry_link_tags('app') }}
  13. <script src="https://www.google.com/recaptcha/enterprise.js?render=6LcVA5YqAAAAAFN9xrkGvHU7pozXj_3usT0o--ER"></script>
  14. {{ sonata_block_render_event('sylius.shop.layout.stylesheets') }}
  15. {% endblock %}
  16. {{ sonata_block_render_event('sylius.shop.layout.head') }}
  17. </head>
  18. <body class="pushable">
  19. {{ sonata_block_render_event('sylius.shop.layout.before_body') }}
  20. <div class="pusher">
  21. {% block top %}
  22. <div class="ui menu fixed stackable doubling large inverted mymenu">
  23. {{ include('@SyliusShop/Menu/completeMenu.html.twig') }}
  24. </div>
  25. {% endblock %}
  26. <div class="main stackable grid container">
  27. {% block header %}
  28. <header style="height: auto !important; background:transparent;">
  29. {{ render(url('sylius_shop_partial_taxon_index_by_code', {'code': 'category', 'template': '@SyliusShop/Taxon/_horizontalMenu.html.twig'})) }}
  30. {% include '@SyliusShop/_header.html.twig' %}
  31. {{ sonata_block_render_event('sylius.shop.layout.after_header') }}
  32. </header>
  33. {% endblock %}
  34. {% include '@SyliusShop/_flashes.html.twig' %}
  35. {{ sonata_block_render_event('sylius.shop.layout.before_content') }}
  36. {% block content %}
  37. {% endblock %}
  38. {{ render(path('bitbag_sylius_cms_plugin_shop_block_index_by_section_code', {'sectionCode' : 'blog', 'template' : '@BitBagSyliusCmsPlugin/Shop/Block/index.html.twig'})) }}
  39. {{ sonata_block_render_event('sylius.shop.layout.after_content') }}
  40. </div>
  41. {% block footer %}
  42. {% include '@SyliusShop/_footer.html.twig' %}
  43. {% endblock %}
  44. </div>
  45. {% block javascripts %}
  46. {% include '@SyliusUi/_javascripts.html.twig' with {'path': 'assets/shop/js/app.js'} %}
  47. {{ sonata_block_render_event('sylius.shop.layout.javascripts') }}
  48. {{ encore_entry_script_tags('app') }}
  49. {% endblock %}
  50. {% include '@SyliusUi/Modal/_confirmation.html.twig' %}
  51. {{ sonata_block_render_event('sylius.shop.layout.after_body') }}
  52. </body>
  53. </html>