mirror of
https://github.com/codeninjasuk/codeninjasuk.github.io.git
synced 2024-12-01 19:46:52 -05:00
10 lines
423 B
HTML
10 lines
423 B
HTML
|
{% assign lang = site.locale | slice: 0,2 | default: "en" %}
|
||
|
{% case lang %}
|
||
|
{% when "gr" %}
|
||
|
{% assign lang = "gr" %}
|
||
|
{% else %}
|
||
|
{% assign lang = "en" %}
|
||
|
{% endcase %}
|
||
|
<script src="{{ '/assets/js/lunr/lunr.min.js' | relative_url }}"></script>
|
||
|
<script src="{{ '/assets/js/lunr/lunr-store.js' | relative_url }}"></script>
|
||
|
<script src="{{ '/assets/js/lunr/lunr-' | append: lang | append: '.js' | relative_url }}"></script>
|