From c731e2b2306b7f108d4522ba24d9b46f4db7b5fc Mon Sep 17 00:00:00 2001 From: August Miller Date: Mon, 5 Feb 2024 10:58:41 -0800 Subject: [PATCH] Twig syntax cleanup --- templates/_/components/blocks/ctaCaption.twig | 4 +-- templates/_/components/blocks/form.twig | 6 ++-- templates/_/components/blocks/heading.twig | 4 +-- .../_/components/blocks/imageAndHeadings.twig | 2 +- templates/_/components/blocks/slider.twig | 8 +++--- .../_/components/blocks/statsAndImage.twig | 6 ++-- templates/_/components/picture.twig | 2 +- templates/_/layouts/base.twig | 4 +-- templates/_/pages/contact.twig | 2 +- templates/_/pages/exhibit.twig | 18 ++++++------ templates/_/pages/home.twig | 8 +++--- templates/_/pages/news-article.twig | 6 ++-- templates/_/pages/news.twig | 12 ++++---- templates/_/partials/footer.twig | 28 +++++++++---------- templates/_/rss/news.rss | 6 ++-- 15 files changed, 58 insertions(+), 58 deletions(-) diff --git a/templates/_/components/blocks/ctaCaption.twig b/templates/_/components/blocks/ctaCaption.twig index 6c46b67b..0d4aaa61 100644 --- a/templates/_/components/blocks/ctaCaption.twig +++ b/templates/_/components/blocks/ctaCaption.twig @@ -18,7 +18,7 @@ {% if heading %} - {{ include(template_from_string(heading)|raw) }} + {{ include(template_from_string(heading) | raw) }} {% endif %} @@ -28,7 +28,7 @@ {% if information %} - {{ include(template_from_string(information)|raw) | typogrify }} + {{ include(template_from_string(information) | raw) | typogrify }} {% endif %} diff --git a/templates/_/components/blocks/form.twig b/templates/_/components/blocks/form.twig index bfae9000..3228c894 100644 --- a/templates/_/components/blocks/form.twig +++ b/templates/_/components/blocks/form.twig @@ -33,7 +33,7 @@
- {{ theBlock.form.render() }} + {{ theBlock.form.render() }}