summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-11 09:44:01 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-11 09:44:01 +0200
commit0e5fe09b09bf9491732748520e6ad37b74453488 (patch)
tree10e6a9b070626353efcdba9f9bc69b3007d8a57d /exampleSite
parent477e47f4eda5344b799839d0d645d125c903b099 (diff)
downloadgohugo-theme-ed-0e5fe09b09bf9491732748520e6ad37b74453488.tar.gz
Rework site search to pass config params
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config/_default/params.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/exampleSite/config/_default/params.yaml b/exampleSite/config/_default/params.yaml
index 9387248..42685e5 100644
--- a/exampleSite/config/_default/params.yaml
+++ b/exampleSite/config/_default/params.yaml
@@ -91,3 +91,9 @@ facebook_id: ''
# Twitter username for the website
twitter: john_doe
+
+# Configure search engine
+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