templates/frontend/page/page-template.html.twig line 1

Open in your IDE?
  1. {% extends 'frontend/base.html.twig' %}
  2. {% block pageTitle %}{{ h1_title }}{% endblock %}
  3. {% block pageDescription %}{% endblock %}
  4. {% block contentArea %}
  5. <div class="row">
  6. <div class="col-md-8">
  7. <h1>{{ h1_title }}</h1>
  8. {% if content.is_visible %}
  9. {% if content.code starts with 'ACCORDION_' %}
  10. <div class="mb-5 accordion-content-box">{{ content.content_html|accordion|raw }}</div>
  11. {% else %}
  12. <div class="mb-5">{{ content.content_html|raw }}</div>
  13. {% endif %}
  14. {% endif %}
  15. </div>
  16. <div class="col-md-4">
  17. {{ include('frontend/_partials/_right_col_full.html.twig') }}
  18. </div>
  19. </div>
  20. {% endblock %}
  21. {% block onPageScriptsArea %}
  22. <script>
  23. $(function() {
  24. $('a[href$="#opencookiebanner"]').on('click', function(event){
  25. event.preventDefault();
  26. return klaro.show();
  27. });
  28. });
  29. </script>
  30. {% endblock %}