Allow adding JavaScript files after the theme's (#2116) Allow adding JavaScript files after those bundled in the theme Close #2110
1 files changed, 11 insertions(+), 0 deletions(-) M _includes/scripts.html
M _includes/scripts.html => _includes/scripts.html +11 -0
@@ 26,3 26,14 @@ {% include analytics.html %} {% include /comments-providers/scripts.html %} {% if site.after_footer_scripts %} {% for script in site.after_footer_scripts %} {% if script contains "://" %} {% capture script_path %}{{ script }}{% endcapture %} {% else %} {% capture script_path %}{{ script | relative_url }}{% endcapture %} {% endif %} <script src="{{ script_path }}"></script> {% endfor %} {% endif %}