Add daily email form to the home page

This commit is contained in:
Oliver Davies 2024-01-03 20:00:00 +00:00
parent 22783aac88
commit eba93f0341
2 changed files with 634 additions and 623 deletions

View file

@ -1,5 +1,10 @@
<script src="https://f.convertkit.com/ckjs/ck.5.js"></script>
<div>
{% if title %}
<h2 class="font-bold text-xl">{{ title }}</h2>
{% endif %}
<form
class="mx-auto mt-8 max-w-md"
action="https://app.convertkit.com/forms/3546728/subscriptions"
@ -634,3 +639,4 @@
</div>
</div>
</form>
</div>

View file

@ -29,6 +29,11 @@ Here are all of my [products and services][pricing]. If you still can't find wha
title: 'Kind words from clients, subscribers, and past colleagues',
} %}
{% include 'daily-email-form.html.twig' with {
title: 'Register for daily software development emails',
intro: 'Sign up and get daily emails about Drupal, PHP and software development.',
} %}
{% include 'about-me.html.twig' %}
{% endblock %}