Fix tweets on talks
This commit is contained in:
parent
ef1b8432d6
commit
4b2d4d1ded
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Reference in a new issue