~xdavidwu/xdavidwu.link

5cbd074572a096db6062ac15e33a51f5998115e6 — Michael Rose 5 years ago 4c9c507 + df939ec
Merge branch 'master' of https://github.com/mmistakes/minimal-mistakes

* 'master' of https://github.com/mmistakes/minimal-mistakes:
  Allow adding JavaScript files after the theme's (#2116)
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 %}