From 1045e5c85ed995a7c488e9610e569fc5326e1c15 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 8 May 2024 07:34:25 +0100 Subject: [PATCH] Fix HTML validation errors --- source/_includes/button.html.twig | 2 +- source/_includes/testimonials.html.twig | 2 +- source/_layouts/base.html.twig | 40 ++++++++++++------------- source/_layouts/default.html.twig | 2 +- source/_layouts/page.html.twig | 2 +- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/source/_includes/button.html.twig b/source/_includes/button.html.twig index 02afed38c..7cbeb63f6 100644 --- a/source/_includes/button.html.twig +++ b/source/_includes/button.html.twig @@ -5,7 +5,7 @@ - + diff --git a/source/_includes/testimonials.html.twig b/source/_includes/testimonials.html.twig index febd5f207..ceb6560f5 100644 --- a/source/_includes/testimonials.html.twig +++ b/source/_includes/testimonials.html.twig @@ -38,7 +38,7 @@ {% if testimonial.image %} - Photo of {{ testimonial.name }} + Photo of {{ testimonial.name }} {% endif %} diff --git a/source/_layouts/base.html.twig b/source/_layouts/base.html.twig index e7f9b65c7..b9a7ece00 100644 --- a/source/_layouts/base.html.twig +++ b/source/_layouts/base.html.twig @@ -1,40 +1,40 @@ - - - - - + + + + + - - - - + + + + - + - - - - + + + + {% if page.meta.description %} - + {% else %} - + {% endif %} {% block head_title %} {% if page.meta.title %} {{ page.meta.title }} - - + + {% else %} {{ page.title }} | {{ site.name }} - - + + {% endif %} {% endblock %} diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index 9e2be7751..1d32f9566 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -32,6 +32,6 @@ -
+
{% endblock %} diff --git a/source/_layouts/page.html.twig b/source/_layouts/page.html.twig index d1570d4f5..7731e968b 100644 --- a/source/_layouts/page.html.twig +++ b/source/_layouts/page.html.twig @@ -7,7 +7,7 @@ {% block styles %} -