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>
|
|
|
|
{% endif %}
|
2016-02-23 17:03:49 +01:00
|
|
|
|
2017-12-07 14:56:14 +01:00
|
|
|
{% if site.search == true or page.layout == 'search' %}
|
2018-01-03 18:44:37 +01:00
|
|
|
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
|
2017-11-15 20:43:31 +01:00
|
|
|
<script src="{{ '/assets/js/lunr.min.js' | absolute_url }}"></script>
|
2018-01-03 18:44:37 +01:00
|
|
|
<script src="{{ '/assets/js/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
|
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 %}
|