diff --git a/_includes/footer-scripts.html b/_includes/footer-scripts.html
index b1f2532..8a980a4 100644
--- a/_includes/footer-scripts.html
+++ b/_includes/footer-scripts.html
@@ -1,23 +1,23 @@
-{% if page.common-ext-js %}
- {% for js in page.common-ext-js %}
+{% if layout.common-ext-js %}
+ {% for js in layout.common-ext-js %}
{% endfor %}
{% endif %}
-{% if page.ext-js %}
- {% for js in page.ext-js %}
+{% if layout.ext-js %}
+ {% for js in layout.ext-js %}
{% endfor %}
{% endif %}
-{% if page.js %}
- {% for js in page.js %}
+{% if layout.js %}
+ {% for js in layout.js %}
{% endfor %}
{% endif %}
-{% if page.common-js %}
- {% for js in page.common-js %}
+{% if layout.common-js %}
+ {% for js in layout.common-js %}
{% if js contains 'jquery' %}