Remove space after person's name
If 'Twig development mode' is disabled.
This commit is contained in:
parent
444194a4b8
commit
c07c6ed686
1 changed files with 37 additions and 0 deletions
|
@ -0,0 +1,37 @@
|
||||||
|
{#
|
||||||
|
/**
|
||||||
|
* @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.
|
||||||
|
* - entity_type: The entity type to which the field belongs.
|
||||||
|
* - field_name: The name of the field.
|
||||||
|
* - field_type: The type of the field.
|
||||||
|
* - label_display: The display settings for the label.
|
||||||
|
* - is_inline: If false, display an ordinary field.
|
||||||
|
* If true, display an inline format, suitable for inside elements such as
|
||||||
|
* <span>, <h2> and so on.
|
||||||
|
*
|
||||||
|
* @see field.html.twig
|
||||||
|
* @see node_preprocess_field__node()
|
||||||
|
*
|
||||||
|
* @ingroup themeable
|
||||||
|
*
|
||||||
|
* @todo Delete as part of https://www.drupal.org/node/3015623
|
||||||
|
*/
|
||||||
|
#}
|
||||||
|
|
||||||
|
{% if not is_inline %}
|
||||||
|
{% include "field.html.twig" %}
|
||||||
|
{% else %}
|
||||||
|
{%- for item in items -%}
|
||||||
|
{{ item.content }}
|
||||||
|
{%- endfor -%}
|
||||||
|
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue