From fc19e5a4a390408b6229bd3d1b244d9bff3231fd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 12 Feb 2020 20:11:53 +0000 Subject: [PATCH] Add message about DrupalCamp London workshop --- source/_layouts/default.html.twig | 4 ++++ source/_partials/site-message.html.twig | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 source/_partials/site-message.html.twig diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index 94be6de9..13bad77a 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -5,6 +5,10 @@
+ {% if page.layout in ['post', 'talk'] %} + {% include 'site-message' %} + {% endif %} + {% block page_title_wrapper %}

{% block page_title %}{{ page.title }}{% endblock %} diff --git a/source/_partials/site-message.html.twig b/source/_partials/site-message.html.twig new file mode 100644 index 00000000..039409da --- /dev/null +++ b/source/_partials/site-message.html.twig @@ -0,0 +1,4 @@ +
+

Oliver is giving a workshop, Automated Testing and Test Driven Development with Drupal 8, next month at DrupalCamp London.

+

Find out more and register on the DrupalCamp London website.

+
\ No newline at end of file