region--breadcrumb.html.twig 614 B

123456789101112131415161718192021222324252627282930
  1. {#
  2. /**
  3. * @file
  4. * Rorschach's theme override to display the breadcrumb region.
  5. *
  6. * Available variables:
  7. * - content: The content for this region, typically blocks.
  8. * - attributes: HTML attributes for the region <div>.
  9. * - region: The name of the region variable as defined in the theme's
  10. * .info.yml file.
  11. *
  12. * @see template_preprocess_region()
  13. */
  14. #}
  15. {%
  16. set classes = [
  17. 'region',
  18. 'region--' ~ region|clean_class,
  19. 'grid-full',
  20. 'layout--pass--content-medium',
  21. 'ie11-autorow',
  22. ]
  23. %}
  24. {% if content %}
  25. <div{{ attributes.addClass(classes) }}>
  26. {{ content }}
  27. </div>
  28. {% endif %}