2017-09-12 18:27:36 +02:00
|
|
|
{% 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 %}
|
|
|
|
<script src="{{ script_path }}"></script>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<script src="{{ '/assets/js/main.min.js' | absolute_url }}"></script>
|
2018-03-01 17:30:19 +01:00
|
|
|
<script src="https://use.fontawesome.com/releases/v5.0.7/js/all.js"></script>
|
2017-09-12 18:27:36 +02:00
|
|
|
{% endif %}
|
2016-02-23 17:03:49 +01:00
|
|
|
|
2018-01-04 01:02:14 +01:00
|
|
|
{% if site.search == true or page.layout == "search" %}
|
2018-02-16 20:20:42 +01:00
|
|
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
|
|
|
{%- case search_provider -%}
|
|
|
|
{%- when "lunr" -%}
|
|
|
|
{% include search/lunr-search-scripts.html %}
|
|
|
|
{%- when "algolia" -%}
|
|
|
|
{% include search/algolia-search-scripts.html %}
|
|
|
|
{%- endcase -%}
|
2017-11-15 20:43:31 +01:00
|
|
|
{% endif %}
|
|
|
|
|
2016-03-11 03:13:01 +01:00
|
|
|
{% include analytics.html %}
|
2016-03-23 17:55:36 +01:00
|
|
|
{% include /comments-providers/scripts.html %}
|