Re-add wrapper for email content
This commit is contained in:
parent
e65e0a8340
commit
da1622d86b
1 changed files with 15 additions and 13 deletions
|
@ -29,22 +29,24 @@ 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>
|
||||||
{{- email.blocks.content -}}
|
<div style="max-width: 550px;">
|
||||||
|
{{- email.blocks.content -}}
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
{%- if email.blocks.cta %}
|
{%- if email.blocks.cta %}
|
||||||
{{ email.blocks.cta }}
|
{{ email.blocks.cta }}
|
||||||
{% else -%}
|
{% else -%}
|
||||||
{% set ctas = [
|
{% set ctas = [
|
||||||
'Are you still using Drupal 7 and don’t know what’s involved to upgrade to Drupal 10? <a href="https://www.oliverdavies.uk/call">Book a Drupal 7 upgrade consultation call</a> or <a href="https://www.oliverdavies.uk/drupal-upgrade">an upgrade roadmap</a>.',
|
'Are you still using Drupal 7 and don’t know what’s involved to upgrade to Drupal 10? <a href="https://www.oliverdavies.uk/call">Book a Drupal 7 upgrade consultation call</a> or <a href="https://www.oliverdavies.uk/drupal-upgrade">an upgrade roadmap</a>.',
|
||||||
'Need help or want another pair of eyes on your code? Book a <a href="https://www.oliverdavies.uk/call">1-on-1 consulting call</a> or an <a href="https://www.oliverdavies.uk/pair">online pair programming session</a> with a 100% money-back guarantee.',
|
'Need help or want another pair of eyes on your code? Book a <a href="https://www.oliverdavies.uk/call">1-on-1 consulting call</a> or an <a href="https://www.oliverdavies.uk/pair">online pair programming session</a> with a 100% money-back guarantee.',
|
||||||
'If you\'re creating a new Drupal module, try my <a href="https://github.com/opdavies/drupal-module-template">free Drupal module template</a>.',
|
'If you\'re creating a new Drupal module, try my <a href="https://github.com/opdavies/drupal-module-template">free Drupal module template</a>.',
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
<p>P.S. {{ random(ctas) }}</p>
|
<p>P.S. {{ random(ctas) }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</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>
|
||||||
<snippet>{{ email.snippet }}</snippet>
|
<snippet>{{ email.snippet }}</snippet>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue