Move other CTAs to site configuration
This commit is contained in:
parent
36448407d3
commit
906e053322
|
@ -13,6 +13,12 @@ ctas:
|
|||
There's less than a year until Drupal 7's end-of-life date. <a href="%site.url%/drupal-upgrade">Plan your upgrade to Drupal 10 now!</a>
|
||||
subscription: |
|
||||
Do you need immediate access to an expert Drupal Developer? With my <a href="%site.url%/subscription">Drupal development subscription</a>, 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? <a href="%site.url%/call">Book a Drupal 7 upgrade consultation call</a> or <a href="%site.url%/drupal-upgrade">an upgrade roadmap</a>.
|
||||
pair: |
|
||||
Need help or want another pair of eyes on your code? Book a <a href="%site.url%/call">1-on-1 consulting call</a> or an <a href="%site.url%/pair">online pair programming session</a> with a 100% money-back guarantee.,
|
||||
module: |
|
||||
If you're creating a new Drupal module, try my <a href="https://github.com/opdavies/drupal-module-template">free Drupal module template</a>.
|
||||
|
||||
|
||||
imports:
|
||||
|
|
|
@ -11,13 +11,7 @@
|
|||
{% if page.cta and site.ctas[page.cta] is defined %}
|
||||
<p>P.S. {{ site.ctas[page.cta]|raw }}</p>
|
||||
{% else %}
|
||||
{% 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>.',
|
||||
] %}
|
||||
|
||||
<p>P.S. {{ random(ctas)|raw }}</p>
|
||||
<p>P.S. {{ random(site.ctas)|raw }}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue