Fix links in daily email RSS feed?

This commit is contained in:
Oliver Davies 2024-06-08 23:38:47 +01:00
parent ba5343d60c
commit 3e7df04592

View file

@ -29,17 +29,15 @@ use:
<link>{{ site.url }}{{ email.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ email.url }}</guid>
<description>
<div style="max-width: 550px;">
<![CDATA[<div style="max-width: 550px;">
{{- email.blocks.content -}}
<hr/>
{% if email.cta and site.ctas[email.cta] is defined %}
<p>P.S. {{ site.ctas[email.cta]|raw }}</p>
{% else %}
<p>P.S. {{ random(site.ctas)|raw }}</p>
{% endif %}
</div>
</div>]]>
</description>
<pubDate>{{ email.date|date('D, d M Y H:i:s') }} GMT</pubDate>
<snippet>{{ email.snippet }}</snippet>