diff -u b/core/modules/system/templates/field.html.twig b/core/modules/system/templates/field.html.twig --- b/core/modules/system/templates/field.html.twig +++ b/core/modules/system/templates/field.html.twig @@ -31,16 +31,14 @@ #} {# -We want to make it easy for the themer to remove or add css classes easy. +We want to make it easy for the themer to remove & add css classes easy. Instead of hiding these as a string in the preprocess, they are done inside of -the tempate file. -{{ attributes.class }} is providing a placeholder for mddules that wants the -option to add classes to a field. - -{{ attributes }} , {{ title_attributes }} & {{ item_attributes[delta] }} ... +the tempate file {{ attributes.class }} is providing a placeholder for mddules +that wants to add classes to a field. #} {% set cssclass %} field field-name--{{ field_name }} field-type--{{ field_type }} field-label--{{ field_label }} {{ attributes.class }} + 'field-' . $variables['entity_type_css'] . '--' . $variables['field_name_css'], {% endset %} {% if multiple and not label_hidden %} only in patch2: unchanged: --- a/core/modules/node/templates/node.html.twig +++ b/core/modules/node/templates/node.html.twig @@ -75,7 +75,7 @@ * @ingroup themeable */ #} -
+
{{ title_prefix }} {% if not page %}