diff --git a/core/modules/aggregator/templates/aggregator-item.html.twig b/core/modules/aggregator/templates/aggregator-item.html.twig index 3736f97..f594b3c 100644 --- a/core/modules/aggregator/templates/aggregator-item.html.twig +++ b/core/modules/aggregator/templates/aggregator-item.html.twig @@ -17,17 +17,27 @@ * @ingroup themeable */ #} - -

- {{ feed_title }} -

+ -
- {% if source_url %} - {{ source_title }} - - {% endif %} - {{ source_date }} -
+ + {{ feed_title }} + + + {% if (source_url or source_date or categories) %} +
+ {% if source_url %} + {{ source_title }} - + {% endif %} + + {{ source_date }} + + {% if categories %} +
+ {{ 'Categories'|t }}: {{ categories|join(', ') }} +
+ {% endif %} +
+ {% endif %} {% if content %}
@@ -35,9 +45,4 @@
{% endif %} - {% if categories %} -
- {{ 'Categories'|t }}: {{ categories|join(', ') }} -
- {% endif %} - +