From 4b2d4d1dedb7a4bcce183cddbbfc42369c3c4c45 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 26 Jul 2019 19:34:44 +0100 Subject: [PATCH] Fix tweets on talks --- source/_layouts/default.html.twig | 8 ++++++++ source/_layouts/post.html.twig | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/source/_layouts/default.html.twig b/source/_layouts/default.html.twig index e6388e6c..44e0cf8f 100644 --- a/source/_layouts/default.html.twig +++ b/source/_layouts/default.html.twig @@ -19,3 +19,11 @@ {% include 'layout/footer' %} {% endblock %} + +{% block scripts %} + {% if page.has_tweets or page.type == 'tweet' %} + + {% endif %} + + +{% endblock %} diff --git a/source/_layouts/post.html.twig b/source/_layouts/post.html.twig index 59492d8b..67d054c5 100644 --- a/source/_layouts/post.html.twig +++ b/source/_layouts/post.html.twig @@ -24,11 +24,3 @@ {% include 'post/about-author' %} {% endblock %} - -{% block scripts %} - {% if page.has_tweets or page.type == 'tweet' %} - - {% endif %} - - -{% endblock %}