From be4957a05dfc36f870e608f119a878f911a4d48c Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 17 Jul 2022 12:32:24 +0200 Subject: Set up the pipeline for indexing content in multiple languages --- exampleSite/config/_default/params.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'exampleSite') 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 -- cgit v1.2.3