Fix tweets on talks

This commit is contained in:
Oliver Davies 2019-07-26 19:34:44 +01:00
parent ef1b8432d6
commit 4b2d4d1ded
2 changed files with 8 additions and 8 deletions

View file

@ -19,3 +19,11 @@
{% include 'layout/footer' %}
</div>
{% endblock %}
{% block scripts %}
{% if page.has_tweets or page.type == 'tweet' %}
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
{% endif %}
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}

View file

@ -24,11 +24,3 @@
{% include 'post/about-author' %}
{% endblock %}
{% block scripts %}
{% if page.has_tweets or page.type == 'tweet' %}
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
{% endif %}
<script>hljs.initHighlightingOnLoad();</script>
{% endblock %}