🐛 fix: support Japanese search (#620)
Some checks are pending
Build Site / Check and Build for Pull Requests (push) Waiting to run
Build Site / Build and Deploy on Main Push (push) Waiting to run

This commit is contained in:
Óscar 2026-02-14 14:41:31 +01:00 committed by GitHub
parent e04ed249d6
commit e9a8fa86da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 1632 additions and 121 deletions

View file

@ -173,6 +173,9 @@
{# Support correct stemming and stop word filtering in non-English search #}
{%- if lang != "en" -%}
<script defer src="{{ get_url(path='js/lunr/lunrStemmerSupport.min.js') | safe }}"></script>
{%- if lang == "ja" -%}
<script defer src="{{ get_url(path='js/lunr/tinyseg.min.js') | safe }}"></script>
{%- endif -%}
<script defer src="{{ get_url(path='js/lunr/lunr.' ~ lang ~ '.min.js') | safe }}"></script>
{%- endif -%}
{%- endif -%}