Automatically load the tweet script if this is a tweet post
This commit is contained in:
parent
0371dd89ce
commit
1e633b3514
|
@ -26,7 +26,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if page.has_tweets %}
|
||||
{% if page.has_tweets or page.type == 'tweet' %}
|
||||
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue