Check that page.tweets is defined
This commit is contained in:
parent
cd75bcf6e7
commit
5485448a2c
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
{% block scripts %}{% endblock %}
|
{% 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>
|
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Reference in a new issue