Add daily email for 2024-01-03
Why you need to start upgrading from Drupal 7 now
This commit is contained in:
parent
f7b812ce53
commit
5ac6c32725
3 changed files with 58 additions and 1 deletions
|
@ -31,13 +31,21 @@ use:
|
|||
<description>
|
||||
{{- email.blocks.content -}}
|
||||
|
||||
{% if 'P.S.' not in email.blocks.content %}
|
||||
{%- if email.blocks.cta %}
|
||||
<br>
|
||||
<hr>
|
||||
{{ email.blocks.cta }}
|
||||
{% endif -%}
|
||||
|
||||
{% if 'P.S.' not in email.blocks.content and 'P.S.' not in email.blocks.cta %}
|
||||
{% 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>.',
|
||||
'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>.',
|
||||
] %}
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
<p>P.S. {{ random(ctas) }}</p>
|
||||
{% endif %}
|
||||
</description>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue