From d7e55e84cceb98938bcde5902e59ea372f81ba20 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 6 Sep 2024 01:40:48 +0100 Subject: [PATCH] Updates for PHP Berkshire --- .../slides.rst | 30 ++++++++++++++----- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/src/building-static-websites-sculpin/slides.rst b/src/building-static-websites-sculpin/slides.rst index 2828527..9e755d6 100644 --- a/src/building-static-websites-sculpin/slides.rst +++ b/src/building-static-websites-sculpin/slides.rst @@ -9,12 +9,6 @@ Building static websites with Sculpin Oliver Davies (@opdavies) -| - -.. class:: centred - -https://opdavi.es/phpberks - .. page:: imagePage .. image:: images/druplicon.png @@ -552,6 +546,28 @@ Making things more dynamic PageBreak +.. code-block:: twig + :linenos: + + --- + title: Daily Email Archive + use: [daily_emails] + --- + + This is an archive of the {{ data.daily_emails|length }} + email messages I have sent to my daily email list + since the 12th of August, 2022. + +| +| + +This is an archive of the 599 email messages I have sent to my daily email list since the 12th of August, 2022. + +.. raw:: pdf + + TextAnnotation "Get the emails via their content type and use the `length` filter to get the number of emails." + PageBreak + .. code-block:: php :include: ./code/twig-2.txt :end-before: // end yaml @@ -611,7 +627,7 @@ Making things more dynamic PageBreak -.. code-block:: javascript +.. code-block:: twig :include: ./code/twig-2.txt :start-after: // start twig :linenos: