templates/components/PageHero.html.twig line 1

Open in your IDE?
  1. {% set overrideTitle = title is not null ? title : page.title %}
  2. {% set overrideSubtitle = subtitle is not null ? subtitle : page.subtitle %}
  3. <div class="page-hero">
  4. <div class="container">
  5. <div class="page-hero__content">
  6. {{- breadcrumbs(page, domCheckIgnore(app.request.pathinfo) ) -}}
  7. <h1 class="page-hero__title">{{ overrideTitle }}</h1>
  8. <div class="page-hero__subtitle">{{ overrideSubtitle | raw }}</div>
  9. {% if block('teamMemberInfo') %}
  10. <div class="page-hero__team-member-info">
  11. {% block teamMemberInfo %}{% endblock %}
  12. </div>
  13. {% endif %}
  14. {% if block('content') %}
  15. <div class="page-hero__buttons">
  16. {% block content %}{% endblock %}
  17. </div>
  18. {% endif %}
  19. </div>
  20. </div>
  21. </div>