diff --git a/source/_layouts/daily_email.html.twig b/source/_layouts/daily_email.html.twig index b5b5d89d..04afd758 100644 --- a/source/_layouts/daily_email.html.twig +++ b/source/_layouts/daily_email.html.twig @@ -6,6 +6,15 @@ {{ parent() }}

- Oliver

+ {% block cta %} + {% set ctas = [ + 'Are you still using Drupal 7 and don’t know what’s involved to upgrade to Drupal 10? Book a Drupal 7 upgrade consultation call or an upgrade roadmap.', + 'Need help or want another pair of eyes on your code? Book a 1-on-1 consulting call or an online pair programming session with a 100% money-back guarantee.', + 'If you\'re creating a new Drupal module, try my free Drupal module template.', + ] %} + +

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

+ {% endblock %} {% endblock %} {% block content_bottom %} diff --git a/source/_pages/rss/daily.xml.twig b/source/_pages/rss/daily.xml.twig index be44d429..863a276a 100644 --- a/source/_pages/rss/daily.xml.twig +++ b/source/_pages/rss/daily.xml.twig @@ -32,20 +32,7 @@ use:
{{- email.blocks.content -}} -
-
- - {%- if email.blocks.cta %} - {{ email.blocks.cta }} - {% else -%} - {% set ctas = [ - 'Are you still using Drupal 7 and don’t know what’s involved to upgrade to Drupal 10? Book a Drupal 7 upgrade consultation call or an upgrade roadmap.', - 'Need help or want another pair of eyes on your code? Book a 1-on-1 consulting call or an online pair programming session with a 100% money-back guarantee.', - 'If you\'re creating a new Drupal module, try my free Drupal module template.', - ] %} - -

P.S. {{ random(ctas) }}

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