diff --git a/core/modules/node/templates/field--node--created.html.twig b/core/modules/node/templates/field--node--created.html.twig index 496d6b2..049144f 100644 --- a/core/modules/node/templates/field--node--created.html.twig +++ b/core/modules/node/templates/field--node--created.html.twig @@ -21,17 +21,7 @@ * @ingroup themeable */ #} -{% set field_name_class = field_name|clean_class %} -{% - set classes = [ - 'field', - 'field-' ~ entity_type|clean_class ~ '--' ~ field_name_class, - 'field-name-' ~ field_name_class, - 'field-type-' ~ field_type|clean_class, - 'field-label-' ~ label_display, - ] -%} - + {%- for item in items -%} {{ item.content }} {%- endfor -%} diff --git a/core/modules/node/templates/field--node--title.html.twig b/core/modules/node/templates/field--node--title.html.twig index 5b37bfa..68142ca 100644 --- a/core/modules/node/templates/field--node--title.html.twig +++ b/core/modules/node/templates/field--node--title.html.twig @@ -21,17 +21,7 @@ * @ingroup themeable */ #} -{% set field_name_class = field_name|clean_class %} -{% - set classes = [ - 'field', - 'field-' ~ entity_type|clean_class ~ '--' ~ field_name_class, - 'field-name-' ~ field_name_class, - 'field-type-' ~ field_type|clean_class, - 'field-label-' ~ label_display, - ] -%} - + {%- for item in items -%} {{ item.content }} {%- endfor -%} diff --git a/core/modules/node/templates/field--node--uid.html.twig b/core/modules/node/templates/field--node--uid.html.twig index 0798d7e..91a97b3 100644 --- a/core/modules/node/templates/field--node--uid.html.twig +++ b/core/modules/node/templates/field--node--uid.html.twig @@ -21,17 +21,7 @@ * @ingroup themeable */ #} -{% set field_name_class = field_name|clean_class %} -{% - set classes = [ - 'field', - 'field-' ~ entity_type|clean_class ~ '--' ~ field_name_class, - 'field-name-' ~ field_name_class, - 'field-type-' ~ field_type|clean_class, - 'field-label-' ~ label_display, - ] -%} - + {%- for item in items -%} {{ item.content }} {%- endfor -%} diff --git a/core/modules/node/templates/node-add-list.html.twig b/core/modules/node/templates/node-add-list.html.twig index 258d3e6..c64751b 100644 --- a/core/modules/node/templates/node-add-list.html.twig +++ b/core/modules/node/templates/node-add-list.html.twig @@ -16,7 +16,7 @@ */ #} {% if types is not empty %} -
+
{% for type in types %}
{{ type.add_link }}
{{ type.description }}
diff --git a/core/modules/node/templates/node-edit-form.html.twig b/core/modules/node/templates/node-edit-form.html.twig index 6d8ac2a..79f066c 100644 --- a/core/modules/node/templates/node-edit-form.html.twig +++ b/core/modules/node/templates/node-edit-form.html.twig @@ -17,14 +17,6 @@ * @ingroup themeable */ #} -
-
- {{ form|without('advanced', 'actions') }} -
-
- {{ form.advanced }} -
- +
+ {{ form }}
diff --git a/core/modules/node/templates/node.html.twig b/core/modules/node/templates/node.html.twig index a78fcb3..f460f43 100644 --- a/core/modules/node/templates/node.html.twig +++ b/core/modules/node/templates/node.html.twig @@ -68,17 +68,7 @@ * @ingroup themeable */ #} -{% - set classes = [ - 'node', - 'node--type-' ~ node.bundle|clean_class, - node.isPromoted() ? 'node--promoted', - node.isSticky() ? 'node--sticky', - not node.isPublished() ? 'node--unpublished', - view_mode ? 'node--view-mode-' ~ view_mode|clean_class, - ] -%} - + {{ title_prefix }} {% if not page %} @@ -89,23 +79,17 @@ {{ title_suffix }} {% if display_submitted %} -
+
{{ author_picture }} - + {% trans %}Submitted by {{ author_name|passthrough }} on {{ date|passthrough }}{% endtrans %} {{ metadata }}
{% endif %} - - {{ content|without('links') }} + + {{ content }} - {% if content.links %} - - {% endif %} - diff --git a/core/modules/node/templates/field--node--created.html.twig b/core/themes/classy/templates/field--node--created.html.twig similarity index 100% copy from core/modules/node/templates/field--node--created.html.twig copy to core/themes/classy/templates/field--node--created.html.twig diff --git a/core/modules/node/templates/field--node--title.html.twig b/core/themes/classy/templates/field--node--title.html.twig similarity index 100% copy from core/modules/node/templates/field--node--title.html.twig copy to core/themes/classy/templates/field--node--title.html.twig diff --git a/core/modules/node/templates/field--node--uid.html.twig b/core/themes/classy/templates/field--node--uid.html.twig similarity index 100% copy from core/modules/node/templates/field--node--uid.html.twig copy to core/themes/classy/templates/field--node--uid.html.twig diff --git a/core/modules/node/templates/node-add-list.html.twig b/core/themes/classy/templates/node-add-list.html.twig similarity index 100% copy from core/modules/node/templates/node-add-list.html.twig copy to core/themes/classy/templates/node-add-list.html.twig diff --git a/core/modules/node/templates/node-edit-form.html.twig b/core/themes/classy/templates/node-edit-form.html.twig similarity index 100% copy from core/modules/node/templates/node-edit-form.html.twig copy to core/themes/classy/templates/node-edit-form.html.twig diff --git a/core/modules/node/templates/node.html.twig b/core/themes/classy/templates/node.html.twig similarity index 100% copy from core/modules/node/templates/node.html.twig copy to core/themes/classy/templates/node.html.twig