Fix links in daily email RSS feed?
This commit is contained in:
parent
3e7df04592
commit
8fa99ee5a2
|
@ -13,7 +13,7 @@ use:
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{ page.title }}</title>
|
<title>{{ page.title }}</title>
|
||||||
<description>{{ page.description }}</description>
|
<description>{{ page.description }}</description>
|
||||||
<link>{{ site.url }}</link>
|
<link>{{ site.url }}/daily</link>
|
||||||
{% for email in data.daily_emails[:1] %}
|
{% for email in data.daily_emails[:1] %}
|
||||||
{% set tags = [] %}
|
{% set tags = [] %}
|
||||||
{%- for tag in ['dev']|merge(email.tags|default([])) -%}
|
{%- for tag in ['dev']|merge(email.tags|default([])) -%}
|
||||||
|
@ -29,9 +29,10 @@ use:
|
||||||
<link>{{ site.url }}{{ email.url }}</link>
|
<link>{{ site.url }}{{ email.url }}</link>
|
||||||
<guid isPermaLink="true">{{ site.url }}{{ email.url }}</guid>
|
<guid isPermaLink="true">{{ site.url }}{{ email.url }}</guid>
|
||||||
<description>
|
<description>
|
||||||
<![CDATA[<div style="max-width: 550px;">
|
<div style="max-width: 550px;">
|
||||||
{{- email.blocks.content -}}
|
{{- email.blocks.content -}}
|
||||||
|
|
||||||
|
<![CDATA[
|
||||||
{% if email.cta and site.ctas[email.cta] is defined %}
|
{% if email.cta and site.ctas[email.cta] is defined %}
|
||||||
<p>P.S. {{ site.ctas[email.cta]|raw }}</p>
|
<p>P.S. {{ site.ctas[email.cta]|raw }}</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
Loading…
Reference in a new issue