{% if site.footer_scripts %}
{% for script in site.footer_scripts %}
{% if script contains "://" %}
{% capture script_path %}{{ script }}{% endcapture %}
{% else %}
{% capture script_path %}{{ script | absolute_url }}{% endcapture %}
{% endif %}
{% endfor %}
{% else %}
{% endif %}
{% if site.search == true or page.layout == 'search' %}
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
{% endif %}
{% include analytics.html %}
{% include /comments-providers/scripts.html %}