From e8df3ee11353fba1fa484178dcf7614234b412a9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 14 Sep 2024 00:11:00 +0100 Subject: [PATCH] Don't include Drupal Planet as a tag TODO: refactor the Drupal Planet feed now to use a tag. --- source/rss/daily.xml.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rss/daily.xml.twig b/source/rss/daily.xml.twig index 6411da4b..e4b847f2 100644 --- a/source/rss/daily.xml.twig +++ b/source/rss/daily.xml.twig @@ -16,7 +16,7 @@ use: {{ site.url }}/daily {% for email in data.daily_emails[:1] %} {% set tags = [] %} - {%- for tag in ['dev']|merge(email.tags|default([])) -%} + {%- for tag in ['dev']|merge(email.tags|default([]))|filter((v) => v != "drupal-planet") -%} {% if tag == "tailwind-css" %} {% set tag = "TailwindCSS" %} {% endif %}