diff --git a/source/_pages/rss/daily.xml.twig b/source/_pages/rss/daily.xml.twig index 9ee16abbf..be44d4292 100644 --- a/source/_pages/rss/daily.xml.twig +++ b/source/_pages/rss/daily.xml.twig @@ -29,22 +29,24 @@ use: {{ site.url }}{{ email.url }} {{ site.url }}{{ email.url }} - {{- email.blocks.content -}} + + {{- 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.', - ] %} + {%- 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 %} + P.S. {{ random(ctas) }} + {% endif %} + {{ email.date|date('D, d M Y H:i:s') }} GMT {{ email.snippet }}
P.S. {{ random(ctas) }}