Remove custom Twig extensions

Go back to calculating the talk count inline and using a macro to get
the number of years experience.
This commit is contained in:
Oliver Davies 2024-11-29 22:36:18 +00:00
parent c4ac4a8d3f
commit 94a4190be6
14 changed files with 1659 additions and 1871 deletions

View file

@ -1,3 +1,5 @@
{% import "_macros" as macros %}
<div>
<h2 class="text-xl font-bold">About me</h2>
@ -8,7 +10,7 @@
</div>
<div class="{{ site.prose_classes }}">
<p>I'm an Acquia-certified Drupal Triple Expert with {{ get_years_of_experience() }} years of experience, an open-source software maintainer and Drupal core contributor, <a href="/presentations">public speaker</a>, <a href="{{ site.youtube.channel.url }}/streams">live streamer</a>, and host of the <a href="/podcast">Beyond Blocks podcast</a>.</p>
<p>I'm an Acquia-certified Drupal Triple Expert with {{ macros.yearsOfExperience }} years of experience, an open-source software maintainer and Drupal core contributor, <a href="/presentations">public speaker</a>, <a href="{{ site.youtube.channel.url }}/streams">live streamer</a>, and host of the <a href="/podcast">Beyond Blocks podcast</a>.</p>
</div>
</div>
</div>