diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 1240629f7..865138068 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -13,6 +13,12 @@ ctas: There's less than a year until Drupal 7's end-of-life date. Plan your upgrade to Drupal 10 now! subscription: | Do you need immediate access to an expert Drupal Developer? With my Drupal development subscription, make unlimited requests for a fixed monthly price in less time than posting to a job board! + call: | + 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. + pair: | + 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., + module: | + If you're creating a new Drupal module, try my free Drupal module template. imports: diff --git a/source/_layouts/daily_email.html.twig b/source/_layouts/daily_email.html.twig index 3cf6479cd..1b922f36c 100644 --- a/source/_layouts/daily_email.html.twig +++ b/source/_layouts/daily_email.html.twig @@ -11,13 +11,7 @@ {% if page.cta and site.ctas[page.cta] is defined %}

P.S. {{ site.ctas[page.cta]|raw }}

{% 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)|raw }}

+

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

{% endif %} {% endblock %} {% endblock %}