drupal/core/modules/node/templates/field--node--title.html.twig

25 lines
627 B
Plaintext
Raw Normal View History

{#
/**
* @file
* Default theme implementation for the node title field.
*
* This is an override of field.html.twig for the node title field. See that
* template for documentation about its details and overrides.
*
* Available variables:
* - attributes: HTML attributes for the containing span element.
* - items: List of all the field items. Each item contains:
* - attributes: List of HTML attributes for each item.
* - content: The field item content.
*
* @see field.html.twig
*
* @ingroup themeable
*/
#}
<span{{ attributes }}>
{%- for item in items -%}
{{ item.content }}
{%- endfor -%}
</span>