summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/search.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/js/search.js b/assets/js/search.js
index 262a92f..489e8fd 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -40,6 +40,9 @@ async function initSearchIndex() {
// Create the lunr index for the search
searchIndex = lunr(function () { // eslint-disable-line no-undef
+ // TODO: Add support fpr more languages
+ this.use(lunr.multiLanguage('en', 'ru'));
+
this.field('title');
this.field('categories');
this.field('tags');