"Fossies" - the Fresh Open Source Software Archive

Member "drupal-8.9.9/core/themes/seven/templates/classy/content/page-title.html.twig" (18 Nov 2020, 638 Bytes) of package /linux/www/drupal-8.9.9.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 {#
    2 /**
    3  * @file
    4  * Theme override 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 #}
   15 {{ title_prefix }}
   16 {% if title %}
   17   <h1{{ title_attributes.addClass('page-title') }}>{{ title }}</h1>
   18 {% endif %}
   19 {{ title_suffix }}