From 1e633b3514f4a6d9d684a07f89b0021fc3a7536e Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 6 Jun 2019 19:40:34 +0100 Subject: [PATCH] Automatically load the tweet script if this is a tweet post --- source/_layouts/post.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_layouts/post.html.twig b/source/_layouts/post.html.twig index 5620b4d21..59492d8bd 100644 --- a/source/_layouts/post.html.twig +++ b/source/_layouts/post.html.twig @@ -26,7 +26,7 @@ {% endblock %} {% block scripts %} - {% if page.has_tweets %} + {% if page.has_tweets or page.type == 'tweet' %} {% endif %}