diff --git a/_includes/footer-scripts.html b/_includes/footer-scripts.html index 9515539..8b36e48 100644 --- a/_includes/footer-scripts.html +++ b/_includes/footer-scripts.html @@ -4,18 +4,6 @@ {% endfor %} {% endif %} -{% if page.ext-js %} - {% for js in page.ext-js %} - {% include ext-js.html js=js %} - {% endfor %} -{% endif %} - -{% if page.js %} - {% for js in page.js %} - - {% endfor %} -{% endif %} - {% if layout.common-js %} {% for js in layout.common-js %} @@ -30,3 +18,15 @@ {% endif %} {% endfor %} {% endif %} + +{% if page.ext-js %} + {% for js in page.ext-js %} + {% include ext-js.html js=js %} + {% endfor %} +{% endif %} + +{% if page.js %} + {% for js in page.js %} + + {% endfor %} +{% endif %}