From 5485448a2c9d6a78dbeddaca5cb8bc3d2d86bb12 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 8 Aug 2015 23:47:40 +0100 Subject: [PATCH] Check that page.tweets is defined --- source/_partials/footer-scripts.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_partials/footer-scripts.html.twig b/source/_partials/footer-scripts.html.twig index 1f7786cd..a793a03e 100644 --- a/source/_partials/footer-scripts.html.twig +++ b/source/_partials/footer-scripts.html.twig @@ -5,7 +5,7 @@ {% block scripts %}{% endblock %} -{% if page.tweets == true %} +{% if page.tweets is defined and page.tweets == true %} {% endif %}