Mercurial > hg > cmmr2012-drupal-site
annotate core/modules/system/templates/page-title.html.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Default theme implementation for page titles. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - title_attributes: HTML attributes for the page title element. |
Chris@0 | 8 * - title_prefix: Additional output populated by modules, intended to be |
Chris@0 | 9 * displayed in front of the main title tag that appears in the template. |
Chris@0 | 10 * - title: The page title, for use in the actual content. |
Chris@0 | 11 * - title_suffix: Additional output populated by modules, intended to be |
Chris@0 | 12 * displayed after the main title tag that appears in the template. |
Chris@0 | 13 * |
Chris@0 | 14 * @ingroup themeable |
Chris@0 | 15 */ |
Chris@0 | 16 #} |
Chris@0 | 17 {{ title_prefix }} |
Chris@0 | 18 {% if title %} |
Chris@0 | 19 <h1{{ title_attributes }}>{{ title }}</h1> |
Chris@0 | 20 {% endif %} |
Chris@0 | 21 {{ title_suffix }} |