You are here

page-title.html.twig in Brainstorm profile 8

Bartik's theme implementation for a page title.

Available variables:

  • title_attributes: HTML attributes for the page title element.
  • title_prefix: Additional output populated by modules, intended to be displayed in front of the main title tag that appears in the template.
  • title: The page title, for use in the actual content.
  • title_suffix: Additional output populated by modules, intended to be displayed after the main title tag that appears in the template.

File

theme/brainstorm_theme/templates/page-title.html.twig
View source
  1. {% extends "@classy/content/page-title.html.twig" %}
  2. {#
  3. /**
  4. * @file
  5. * Bartik's theme implementation for a page title.
  6. *
  7. * Available variables:
  8. * - title_attributes: HTML attributes for the page title element.
  9. * - title_prefix: Additional output populated by modules, intended to be
  10. * displayed in front of the main title tag that appears in the template.
  11. * - title: The page title, for use in the actual content.
  12. * - title_suffix: Additional output populated by modules, intended to be
  13. * displayed after the main title tag that appears in the template.
  14. */
  15. #}
  16. {% set title_attributes = title_attributes.addClass('page-title') %}