From cd4c12be5825c881dace5212a4a4bc9f1ad214cd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 14 May 2019 22:10:45 +0100 Subject: [PATCH] More layout changes --- source/_includes/update-text.html.twig | 2 +- source/_layouts/base.html.twig | 22 +++++++++++++--------- source/index.html.twig | 2 +- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/source/_includes/update-text.html.twig b/source/_includes/update-text.html.twig index 6ded570..82bf247 100644 --- a/source/_includes/update-text.html.twig +++ b/source/_includes/update-text.html.twig @@ -1,3 +1,3 @@ -
+
{{ page.update_text }}
diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index c296462..d24e0eb 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -7,19 +7,23 @@ -
{% include 'banner' %} - {% block content_wrapper %} - {% block content %}{% endblock %} - {% endblock %} +
+ {% block content_wrapper %} + {% block content %}{% endblock %} + {% endblock %} - {% if page.update_text %} - {% include 'update-text' %} - {% endif %} + {% if page.update_text %} + {% include 'update-text' %} + {% endif %} +
+ +
+ {% block content_bottom %}{% endblock %} + {% include 'footer' %} +
- - {% include 'footer' %} diff --git a/source/index.html.twig b/source/index.html.twig index dbba8c9..5baeb61 100644 --- a/source/index.html.twig +++ b/source/index.html.twig @@ -4,7 +4,7 @@ twitter: url: https://twitter.com/drupalcampbris update_text: Early bird tickets are now available! --- -
+