Re-add and use custom Twig extensions
This commit is contained in:
parent
26bffdb58d
commit
275103e149
14 changed files with 1841 additions and 26 deletions
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
|
||||
<div class="{{ site.prose_classes }}">
|
||||
<p>I'm an certified Drupal Triple Expert with {{ macros.yearsOfExperience }} years of experience, a 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 certified Drupal Triple Expert with {{ get_years_of_experience() }} years of experience, a 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>
|
||||
|
|
|
@ -23,8 +23,6 @@ faqs:
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% import "_macros" as macros %}
|
||||
|
||||
{# <h2>Who is this for?</h2> #}
|
||||
|
||||
{# Pain #}
|
||||
|
@ -33,7 +31,7 @@ faqs:
|
|||
|
||||
{# Fix #}
|
||||
|
||||
<p>As a professional Software Developer and Consultant with {{ macros.yearsOfExperience }} years of Drupal and PHP experience, I have a lot of knowledge that I use to help customers and their projects.</p>
|
||||
<p>As a professional Software Developer and Consultant with {{ get_years_of_experience() }} years of Drupal and PHP experience, I have a lot of knowledge that I use to help customers and their projects.</p>
|
||||
|
||||
{# 1st call to action #}
|
||||
|
||||
|
@ -93,7 +91,7 @@ faqs:
|
|||
<h2>Who am I?</h2>
|
||||
|
||||
<ul>
|
||||
<li>I'm an Acquia-certified Drupal expert with {{ macros.yearsOfExperience }} years of professional development experience.</li>
|
||||
<li>I'm an Acquia-certified Drupal expert with {{ get_years_of_experience() }} years of professional development experience.</li>
|
||||
<li>I'm a former Drupal Association employee who was responsible for improving and maintaining Drupal.org.</li>
|
||||
<li>I'm a Drupal core contributor and maintain numerous Drupal projects, including the Override Node Options module, which is used on over 38,000 websites.</li>
|
||||
<li>I'm a multiple-time DrupalCon speaker who regularly presents talks and workshops at conferences and meetups.</li>
|
||||
|
|
|
@ -6,8 +6,6 @@ button:
|
|||
url: https://buy.stripe.com/aEU4h0gBc4ro0p27sz
|
||||
---
|
||||
|
||||
{% import "_macros" as macros %}
|
||||
|
||||
{# Pain #}
|
||||
|
||||
Drupal 7 will be unsupported on the **5th of January 2025**.
|
||||
|
@ -71,7 +69,7 @@ An upgrade roadmap is a personalised audit of your Drupal website and includes d
|
|||
|
||||
## Who am I?
|
||||
|
||||
* I'm an Acquia-certified Drupal expert with {{ macros.yearsOfExperience }} years of professional development experience.
|
||||
* I'm an Acquia-certified Drupal expert with {{ get_years_of_experience() }} years of professional development experience.
|
||||
* I'm a former Drupal Association employee who was responsible for improving and maintaining Drupal.org.
|
||||
* I'm a Drupal core contributor and maintain numerous Drupal projects, including the Override Node Options module, which is used on over 38,000 websites.
|
||||
* I'm a multiple-time DrupalCon speaker who regularly presents talks and workshops at conferences and meetups.
|
||||
|
|
|
@ -7,8 +7,6 @@ link: https://savvycal.com/opdavies/pair
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% import "_macros" as macros %}
|
||||
|
||||
{# Pain #}
|
||||
|
||||
<p>Are you stuck adding a new feature or fixing a bug?</p>
|
||||
|
@ -51,7 +49,7 @@ link: https://savvycal.com/opdavies/pair
|
|||
<h2>Who am I?</h2>
|
||||
|
||||
<ul>
|
||||
<li>I'm an Acquia-certified Drupal expert with {{ macros.yearsOfExperience }} years of professional development experience.</li>
|
||||
<li>I'm an Acquia-certified Drupal expert with {{ get_years_of_experience() }} years of professional development experience.</li>
|
||||
<li>I'm a former Drupal Association employee who was responsible for improving and maintaining Drupal.org.</li>
|
||||
<li>I'm a Drupal core contributor and maintain numerous Drupal projects, including the Override Node Options module, which is used on over 38,000 websites.</li>
|
||||
<li>I'm a multiple-time DrupalCon speaker who regularly presents talks and workshops at conferences and meetups.</li>
|
||||
|
|
|
@ -4,10 +4,7 @@ title: Presentations
|
|||
use: [presentations]
|
||||
---
|
||||
|
||||
{% set today = 'today'|date('U') %}
|
||||
{% set presentation_count = data.presentations|reduce((count, presentation) => count + (presentation.events|filter(e => e.date|date('U') < today)|length), 0) %}
|
||||
|
||||
<p>Since September 2012, I have given {{ presentation_count }} public talks and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.</p>
|
||||
<p>Since September 2012, I have given {{ get_presentation_count(data.presentations) }} public talks and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.</p>
|
||||
|
||||
{% for presentation in data.presentations|sort((a, b) => a.events|last.date|date('U') > b.events|last.date|date('U') ? -1 : 1) %}
|
||||
<article>
|
||||
|
|
|
@ -3,15 +3,13 @@ layout: page
|
|||
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 <a href="mailto:{{ site.email }}">email me directly</a>.
|
||||
|
||||
## Short Bio
|
||||
|
||||
Oliver is a Software Developer and Drupal expert with {{ macros.yearsOfExperience }} years experience. He specialises in code quality, automated testing and test-driven development.
|
||||
Oliver is a Software Developer and Drupal expert with {{ get_years_of_experience() }} years experience. He specialises in code quality, automated testing and test-driven development.
|
||||
|
||||
## Sample Topics
|
||||
|
||||
|
|
|
@ -3,11 +3,9 @@ layout: page
|
|||
title: Speaker Information
|
||||
---
|
||||
|
||||
{% import "_macros" as macros %}
|
||||
|
||||
## Bio
|
||||
|
||||
Oliver is a Software Developer and Drupal Expert with {{ macros.yearsOfExperience }} 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.
|
||||
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.
|
||||
|
||||
## Photos
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue