diff --git a/_includes/footer-scripts.html b/_includes/footer-scripts.html index 9e02b3a..e8da1e8 100644 --- a/_includes/footer-scripts.html +++ b/_includes/footer-scripts.html @@ -1,21 +1,32 @@ - - - - - + +{% if page.common-ext-js %} + {% for js in page.common-ext-js %} + + {% endfor %} +{% endif %} {% if layout.common-ext-js %} {% for js in layout.common-ext-js %} {% endfor %} {% endif %} +{% if page.ext-js %} + {% for js in page.ext-js %} + + {% endfor %} +{% endif %} {% if layout.ext-js %} {% for js in layout.ext-js %} {% endfor %} {% endif %} +{% if page.js %} + {% for js in page.js %} + + {% endfor %} +{% endif %} {% if layout.js %} {% for js in layout.js %} @@ -36,5 +47,19 @@ {% endif %} {% endfor %} {% endif %} +{% if page.common-js %} + {% for js in page.common-js %} + + {% if js contains 'jquery' %} + + {% else %} + + {% endif %} + {% endfor %} +{% endif %} {% include google_analytics.html %}