Check that page.tweets is defined

This commit is contained in:
Oliver Davies 2015-08-08 23:47:40 +01:00
parent cd75bcf6e7
commit 5485448a2c

View file

@ -5,7 +5,7 @@
{% block scripts %}{% endblock %}
{% if page.tweets == true %}
{% if page.tweets is defined and page.tweets == true %}
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
{% endif %}