diff --git a/source/_includes/about-me.html.twig b/source/_includes/about-me.html.twig index 283a55cd0..b9f33fe41 100644 --- a/source/_includes/about-me.html.twig +++ b/source/_includes/about-me.html.twig @@ -1,5 +1,3 @@ -{% import 'macros' as macros %} -

About me

diff --git a/source/_includes/macros.html.twig b/source/_includes/macros.html.twig deleted file mode 100644 index 802cfcdf0..000000000 --- a/source/_includes/macros.html.twig +++ /dev/null @@ -1,4 +0,0 @@ -{# Return a rounded count of daily emails I've sent (e.g. the actual number is 449, return 440+). #} -{% macro dailiesCount(dailies) %} - {{- dailies|length|round(-1, 'floor') -}}+ -{% endmacro %} diff --git a/source/_pages/archive.html b/source/_pages/archive.html index 8343697df..3c980fef9 100644 --- a/source/_pages/archive.html +++ b/source/_pages/archive.html @@ -9,9 +9,7 @@ use: --- {% block content %} - {% import 'macros' as macros %} - -

This is an archive of the {{ macros.dailiesCount(data.daily_emails) }} email messages I have sent to my daily mailing list since the 12th of August, 2022. Enjoy!

+

This is an archive of the {{ data.daily_emails|length }} email messages I have sent to my daily mailing list since the 12th of August, 2022. Enjoy!

diff --git a/source/_pages/call.html.twig b/source/_pages/call.html.twig index 0acf42962..d498c76bb 100644 --- a/source/_pages/call.html.twig +++ b/source/_pages/call.html.twig @@ -22,8 +22,6 @@ faqs: {% block content %} -{% import 'macros' as macros %} - {#

Who is this for?

#} {# Pain #} diff --git a/source/_pages/drupal-upgrade.md b/source/_pages/drupal-upgrade.md index 5e37aa7e8..d843d34ff 100644 --- a/source/_pages/drupal-upgrade.md +++ b/source/_pages/drupal-upgrade.md @@ -5,8 +5,6 @@ button: url: https://buy.stripe.com/aEU4h0gBc4ro0p27sz --- -{% import 'macros' as macros %} - {# Pain #} Drupal 7 will be unsupported on the **5th of January 2025**. diff --git a/source/_pages/pair.html.twig b/source/_pages/pair.html.twig index 5d63a4444..0c0308e11 100644 --- a/source/_pages/pair.html.twig +++ b/source/_pages/pair.html.twig @@ -6,8 +6,6 @@ link: https://savvycal.com/opdavies/pair {% block content %} -{% import 'macros' as macros %} - {# Pain #}

Are you stuck adding a new feature or fixing a bug?

diff --git a/source/_pages/press.md b/source/_pages/press.md index dafb10bee..33dfba23d 100644 --- a/source/_pages/press.md +++ b/source/_pages/press.md @@ -2,8 +2,6 @@ title: Press Info --- -{% import 'macros' as macros %} - The following information is provided as a cut-and-paste resource for conference organisers, media professionals, podcast hosts, and other interested parties. Please feel free to use anything here as-is without checking with me first. If you have additional questions, you can email me directly. diff --git a/source/_pages/speaker.md b/source/_pages/speaker.md index d7db1fa3e..56d0197e4 100644 --- a/source/_pages/speaker.md +++ b/source/_pages/speaker.md @@ -2,8 +2,6 @@ title: Speaker Information --- -{% import 'macros' as macros %} - ## Bio Oliver is a Software Developer and Drupal Expert with {{ get_years_of_experience() }} years of experience. As well as consulting on large Drupal projects, Oliver helps Drupal Developers learn automated testing and test-driven development via a free email course and paid coaching and workshops. He regularly contributes to open-source software projects, including Drupal core.