annotate core/modules/system/templates/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 * 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 }}