diff --git a/_includes/footer-scripts.html b/_includes/footer-scripts.html index 86f338e..b1f2532 100644 --- a/_includes/footer-scripts.html +++ b/_includes/footer-scripts.html @@ -4,12 +4,6 @@ {% endfor %} {% endif %} -{% if page.common-js %} - {% for js in page.common-js %} - - {% endfor %} -{% endif %} - {% if page.ext-js %} {% for js in page.ext-js %} @@ -22,4 +16,19 @@ {% endfor %} {% endif %} -{% include google_analytics.html %} \ No newline at end of file +{% if page.common-js %} + {% for js in page.common-js %} + + {% if js contains 'jquery' %} + + {% else %} + + {% endif %} + {% endfor %} +{% endif %} + +{% include google_analytics.html %}