diff --git a/templates/content/node--card-image.html.twig b/templates/content/node--card-image.html.twig index 2046227..9022ba0 100644 --- a/templates/content/node--card-image.html.twig +++ b/templates/content/node--card-image.html.twig @@ -111,7 +111,7 @@ {% endif %} {% endblock %} {% block content %} -
{{ summary }}
+{{ summary }}
{% endblock %} {% endembed %} diff --git a/templates/content/node--card-vertical.html.twig b/templates/content/node--card-vertical.html.twig index 7b13d63..5f33d76 100755 --- a/templates/content/node--card-vertical.html.twig +++ b/templates/content/node--card-vertical.html.twig @@ -111,7 +111,7 @@ {% endif %} {% endblock %} {% block content %} -{{ summary }}
+{{ summary }}
{% endblock %} {% block actions %}diff --git a/templates/content/node--homepage--featured-content.html.twig b/templates/content/node--homepage--featured-content.html.twig index 2b039f4..e2beb3e 100644 --- a/templates/content/node--homepage--featured-content.html.twig +++ b/templates/content/node--homepage--featured-content.html.twig @@ -65,10 +65,6 @@ * in different view modes. */ #} -{% set container_attributes = create_attribute() %} -{% set caption_attributes = create_attribute() %} -{% set title_attributes = create_attribute() %} -{% set link_attributes = create_attribute() %} {% set classes = [ view_mode ? 'node--view-mode-' ~ view_mode|clean_class, @@ -76,71 +72,10 @@ 'img-cover', ] %} -{% - set container_classes = [ - 'container', - 'absolute', - 'inset-0', - 'z-40', - 'flex', - 'flex-col', - 'justify-center', - 'px-5', - 'mx-auto', - 'text-white', - 'md--px-4', - ] -%} -{% - set caption_classes = [ - 'p-16', - 'max-w-[640px]', - 'xl--max-w-[768px]', - ] -%} -{% - set title_classes = [ - 'mt-0', - 'text-white', - 'heading-responsive', - ] -%} -{% - set link_classes = [ - 'sm--text-lg', - 'xl--text-4xl', - 'unit-button', - 'link-expand', - ] -%} - -{% if node.field_show_gradient_on_image.value %} - {% set gradient = 'has-gradient--after' %} -{% endif %} {{ attach_library('kraken/scroll-to-content') }} -
{{ paragraph.field_paragraph_card_text.value }}
+{{ paragraph.field_paragraph_card_text.value }}
{% endif %} {% endblock %} {% block actions %} diff --git a/templates/paragraphs/paragraph--card-vertical.html.twig b/templates/paragraphs/paragraph--card-vertical.html.twig index c0a79a9..a54494e 100644 --- a/templates/paragraphs/paragraph--card-vertical.html.twig +++ b/templates/paragraphs/paragraph--card-vertical.html.twig @@ -62,7 +62,7 @@ {% endblock %} {% block content %} {% if not (paragraph.field_paragraph_card_text.isEmpty == true) and content.field_paragraph_card_text is defined %} -{{ paragraph.field_paragraph_card_text.value }}
+{{ paragraph.field_paragraph_card_text.value }}
{% endif %} {% endblock %} {% block actions %}