mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed support for Japanese search
This commit is contained in:
parent
eed002861e
commit
876b71466f
@ -156,6 +156,9 @@
|
||||
<script src="{{ path }}/lunr.stemmer.support.js"></script>
|
||||
{% for language in languages | map("trim") %}
|
||||
{% if language != "en" %}
|
||||
{% if language == "jp" %}
|
||||
<script src="{{ path }}/tinyseg.js"></script>
|
||||
{% endif %}
|
||||
<script src="{{ path }}/lunr.{{ language }}.js"></script>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -284,6 +284,9 @@
|
||||
<script src="{{ path }}/lunr.stemmer.support.js"></script>
|
||||
{% for language in languages | map("trim") %}
|
||||
{% if language != "en" %}
|
||||
{% if language == "jp" %}
|
||||
<script src="{{ path }}/tinyseg.js"></script>
|
||||
{% endif %}
|
||||
<script src="{{ path }}/lunr.{{ language }}.js"></script>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user