diff --git a/agaric/templates/layout/node--card.html.twig b/agaric/templates/layout/node--card.html.twig index 0a87c94..e896d2e 100644 --- a/agaric/templates/layout/node--card.html.twig +++ b/agaric/templates/layout/node--card.html.twig @@ -86,17 +86,21 @@ {% if not has_title_paragraph %}
{{ content.field_image }} + {% if node.bundle == 'blog' and content.field_authors is not empty %} +

+ By {{ content.field_authors }}
+ On {{ date }} +

+ {% endif %}

{{ label }}

- {{ content.field_summary }} - {% if node.bundle == 'blog' and content.field_authors is not empty %} -

Written by {{ content.field_authors }}

-

Posted on {{ date }}

- {% endif %} +
+ {{ content.field_summary }} +
{% endif %} -{{ content|without('field_body_paragraph', 'field_authors', 'uid', 'created') }} +{{ content|without('field_body_paragraph', 'field_authors', 'field_image', 'field_summary', 'uid', 'created') }}