6fe3b9cd1c
* Remove Lunr trimmer & bring back colons * Add Greek Stemmer * Translate `search_placeholder_text` and `results_found` to Greek
21 lines
806 B
HTML
21 lines
806 B
HTML
{% 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 %}
|
|
|
|
{% if site.search == true or page.layout == 'search' %}
|
|
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
|
|
<script src="{{ '/assets/js/lunr.min.js' | absolute_url }}"></script>
|
|
<script src="{{ '/assets/js/lunr-' | append: lang | append: '.js' | absolute_url }}"></script>
|
|
{% endif %}
|
|
|
|
{% include analytics.html %}
|
|
{% include /comments-providers/scripts.html %}
|