diff --git a/source/_pages/rss/daily.xml.twig b/source/_pages/rss/daily.xml.twig index a37691535..9ee16abbf 100644 --- a/source/_pages/rss/daily.xml.twig +++ b/source/_pages/rss/daily.xml.twig @@ -31,21 +31,18 @@ use: {{- email.blocks.content -}} - {%- if email.blocks.cta %} -
-
- {{ email.blocks.cta }} - {% endif -%} +
+
- {% if 'P.S.' not in email.blocks.content and 'P.S.' not in email.blocks.cta %} + {%- 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 %}