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>
|
<script src="{{ path }}/lunr.stemmer.support.js"></script>
|
||||||
{% for language in languages | map("trim") %}
|
{% for language in languages | map("trim") %}
|
||||||
{% if language != "en" %}
|
{% if language != "en" %}
|
||||||
|
{% if language == "jp" %}
|
||||||
|
<script src="{{ path }}/tinyseg.js"></script>
|
||||||
|
{% endif %}
|
||||||
<script src="{{ path }}/lunr.{{ language }}.js"></script>
|
<script src="{{ path }}/lunr.{{ language }}.js"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -284,6 +284,9 @@
|
|||||||
<script src="{{ path }}/lunr.stemmer.support.js"></script>
|
<script src="{{ path }}/lunr.stemmer.support.js"></script>
|
||||||
{% for language in languages | map("trim") %}
|
{% for language in languages | map("trim") %}
|
||||||
{% if language != "en" %}
|
{% if language != "en" %}
|
||||||
|
{% if language == "jp" %}
|
||||||
|
<script src="{{ path }}/tinyseg.js"></script>
|
||||||
|
{% endif %}
|
||||||
<script src="{{ path }}/lunr.{{ language }}.js"></script>
|
<script src="{{ path }}/lunr.{{ language }}.js"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user