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 %}