page-title.html.twig 654 B

123456789101112131415161718192021
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for page titles.
  5. *
  6. * Available variables:
  7. * - title_attributes: HTML attributes for the page title element.
  8. * - title_prefix: Additional output populated by modules, intended to be
  9. * displayed in front of the main title tag that appears in the template.
  10. * - title: The page title, for use in the actual content.
  11. * - title_suffix: Additional output populated by modules, intended to be
  12. * displayed after the main title tag that appears in the template.
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {{ title_prefix }}
  18. {% if title %}
  19. <h2{{ title_attributes }}>{{ title }}</h2>
  20. {% endif %}
  21. {{ title_suffix }}