Hide CTA text on daily email pages
This commit is contained in:
parent
a9d46b3ccd
commit
0672711d8b
|
@ -6,14 +6,6 @@
|
||||||
{{ parent() }}
|
{{ parent() }}
|
||||||
|
|
||||||
<p>- Oliver</p>
|
<p>- Oliver</p>
|
||||||
|
|
||||||
{% block cta %}
|
|
||||||
{% if page.cta and site.ctas[page.cta] is defined %}
|
|
||||||
<p>P.S. {{ site.ctas[page.cta]|raw }}</p>
|
|
||||||
{% else %}
|
|
||||||
<p>P.S. {{ random(site.ctas)|raw }}</p>
|
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content_bottom %}
|
{% block content_bottom %}
|
||||||
|
|
|
@ -32,7 +32,13 @@ use:
|
||||||
<div style="max-width: 550px;">
|
<div style="max-width: 550px;">
|
||||||
{{- email.blocks.content -}}
|
{{- email.blocks.content -}}
|
||||||
|
|
||||||
{{ email.blocks.cta }}
|
<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>
|
</description>
|
||||||
<pubDate>{{ email.date|date('D, d M Y H:i:s') }} GMT</pubDate>
|
<pubDate>{{ email.date|date('D, d M Y H:i:s') }} GMT</pubDate>
|
||||||
|
|
Loading…
Reference in a new issue