{%- 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 jekyll.environment == 'production' and site.google_analytics -%}
{%- endif %}
{% if site.mathjax == true %}
{% endif %}
{%- if page.layout == "search" -%}
{% include lunr-search-scripts.html %}
{%- endif -%}