Mercurial > hg > isophonics-drupal-site
annotate core/themes/classy/templates/content/page-title.html.twig @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Theme override 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 #} |
Chris@0 | 15 {{ title_prefix }} |
Chris@0 | 16 {% if title %} |
Chris@0 | 17 <h1{{ title_attributes.addClass('page-title') }}>{{ title }}</h1> |
Chris@0 | 18 {% endif %} |
Chris@0 | 19 {{ title_suffix }} |