summaryrefslogtreecommitdiffstats
path: root/exampleSite/config/_default
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-17 12:32:24 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-17 12:32:24 +0200
commitbe4957a05dfc36f870e608f119a878f911a4d48c (patch)
tree84c4b0e6604c7fc2bde045070cc98acf0e105c0f /exampleSite/config/_default
parent581ad2adf8536d20a0a37e6b2158aa6438a1a130 (diff)
downloadgohugo-theme-ed-be4957a05dfc36f870e608f119a878f911a4d48c.tar.gz
Set up the pipeline for indexing content in multiple languages
Diffstat (limited to 'exampleSite/config/_default')
-rw-r--r--exampleSite/config/_default/params.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/exampleSite/config/_default/params.yaml b/exampleSite/config/_default/params.yaml
index 9a306b3..8a7d1b8 100644
--- a/exampleSite/config/_default/params.yaml
+++ b/exampleSite/config/_default/params.yaml
@@ -103,3 +103,16 @@ search:
# Maximum length (in words) of each text blurb. You can change this
# value if you find that 100 is too short or too long for your taste.
maxSummaryLength: 100
+ # Lunr has full support for the indexing and searching of documents
+ # in English. If your documents are in another language, uncomment
+ # required languages below. No need add 'en' as its supported by Lunr
+ # out of box.
+ #
+ # For more see: https://lunrjs.com/guides/language_support.html
+ languages:
+ # - de
+ - es
+ # - fr
+ # - it
+ # - pt
+ # - ru