templates/base_archive.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale|split('_')[0] }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <script src="https://consent.cookiefirst.com/sites/theatertotal.de-944f7496-632a-4ede-a931-0fc19ec69bbb/consent.js"></script>
  8. <title>TheaterTotal</title>
  9. {% block meta %}
  10. {% include "@SuluWebsite/Extension/seo.html.twig" with {
  11. "seo": extension.seo|default([]),
  12. "content": content|default([]),
  13. "localizations": localizations|default([]),
  14. "shadowBaseLocale": shadowBaseLocale|default(),
  15. } %}
  16. {% endblock %}
  17. <!-- Favicons -->
  18. {% block style %}
  19. {{ encore_entry_link_tags('app') }}
  20. {% endblock %}
  21. </head>
  22. <body>
  23. {% block header %}
  24. {% include "partials/header.html.twig" %}
  25. {% endblock %}
  26. {% if content.headerImage is not null %}
  27. {% block hero %}
  28. {% include "partials/hero.html.twig" %}
  29. {% endblock %}
  30. {% else %}
  31. <div class="container" style="margin-top: 20%">
  32. <div class="title" style="width: 80%">
  33. <h1 style="font-family: Teko Medium, sans-serif; font-size: 70px; letter-spacing: 1.3px"> {{ content.title}} </h1>
  34. </div>
  35. </div>
  36. {% endif %}
  37. <main>
  38. {% block content %}{% endblock %}
  39. </main>
  40. {#{% if previewContentReplacer is not defined %}
  41. {{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set')) }}
  42. {% endif %}#}
  43. {#
  44. {{ render_esi(path('ch_cookie_consent.show_if_cookie_consent_not_set')) }}
  45. #}
  46. {% block footer %}
  47. {% include "partials/footer.html.twig" %}
  48. {% endblock %}
  49. {% block javascripts %}
  50. {{ encore_entry_script_tags('app') }}
  51. {% endblock %}
  52. </body>
  53. </html>