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' %}
|
2017-11-15 20:43:31 +01:00
|
|
|
<script src="{{ '/assets/js/lunr.min.js' | absolute_url }}"></script>
|
|
|
|
<script src="{{ '/assets/js/lunr-en.js' | absolute_url }}"></script>
|
|
|
|
{% 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 %}
|