diff --git a/source/_layouts/page.html.twig b/source/_layouts/page.html.twig index 9c11d90b..4caf2d67 100644 --- a/source/_layouts/page.html.twig +++ b/source/_layouts/page.html.twig @@ -1 +1,9 @@ {% extends 'base' %} + +{% block content_wrapper %} + {% if page.intro_text %} +

{{ page.intro_text }}

+ {% endif %} + + {{ parent() }} +{% endblock %} diff --git a/source/_pages/blog.html.twig b/source/_pages/blog.html.twig index a03a79d9..27002a6e 100644 --- a/source/_pages/blog.html.twig +++ b/source/_pages/blog.html.twig @@ -2,10 +2,10 @@ title: Blog use: - posts +intro_text: | + TODO: update text --- -

TODO: update text

-
{% for talk in data.posts|sort((a, b) => a.date < b.date) %} diff --git a/source/_pages/talks.html.twig b/source/_pages/talks.html.twig index 25fe15c5..d1d4a4af 100644 --- a/source/_pages/talks.html.twig +++ b/source/_pages/talks.html.twig @@ -2,10 +2,10 @@ title: Talks and workshops use: - talks +intro_text: | + Starting with my first talk in September 2012, I have given 81 presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration. --- -

Starting with my first talk in September 2012, I have given 81 presentations and workshops at various conferences and meetups, in-person and remotely, on topics including PHP, Drupal, automated testing, Git, CSS, and systems administration.

-
{% for talk in data.talks|sort((a,b) => a.sortable_date < b.sortable_date) %}