From 3e7df04592366657c23ec92b8fe6abaf890a1912 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 8 Jun 2024 23:38:47 +0100 Subject: [PATCH] Fix links in daily email RSS feed? --- source/_pages/rss/daily.xml.twig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/_pages/rss/daily.xml.twig b/source/_pages/rss/daily.xml.twig index 8224a9b9..a9e5af1d 100644 --- a/source/_pages/rss/daily.xml.twig +++ b/source/_pages/rss/daily.xml.twig @@ -29,17 +29,15 @@ use: {{ site.url }}{{ email.url }} {{ site.url }}{{ email.url }} -
+ {{- email.blocks.content -}} -
- {% if email.cta and site.ctas[email.cta] is defined %}

P.S. {{ site.ctas[email.cta]|raw }}

{% else %}

P.S. {{ random(site.ctas)|raw }}

{% endif %} -
+ ]]>
{{ email.date|date('D, d M Y H:i:s') }} GMT {{ email.snippet }}