summaryrefslogtreecommitdiffstats
path: root/config.yaml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-05 03:11:36 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-05 03:11:36 +0200
commit16fee44dbd2efe2fc968a71b4a21c72d36f7ec1e (patch)
tree2f315c4fc248fb3886cd848f6ec9c28779e28c96 /config.yaml
parentef8c42c2e959edc8dba65c8c20acf41088f14b79 (diff)
downloadgohugo-theme-ed-16fee44dbd2efe2fc968a71b4a21c72d36f7ec1e.tar.gz
Add support of indexing multi-language content
Diffstat (limited to 'config.yaml')
-rw-r--r--config.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml
index 1e66daa..f5a02cc 100644
--- a/config.yaml
+++ b/config.yaml
@@ -13,3 +13,11 @@ module:
mounts:
- source: lunr.js
target: assets/js/vendor/lunr.js
+ - path: github.com/MihaiValentin/lunr-languages
+ mounts:
+ - source: lunr.stemmer.support.js
+ target: assets/js/vendor/lunr.stemmer.support.js
+ - source: lunr.ru.js
+ target: assets/js/vendor/lunr.multi.js
+ - source: lunr.multi.js
+ target: assets/js/vendor/lunr.ru.js