From 791c9e3d8db84b478862925be1b9f384f9e19293 Mon Sep 17 00:00:00 2001 From: Navendu Pottekkat Date: Tue, 8 Aug 2023 00:23:40 +0530 Subject: [PATCH] docs: limit search results Signed-off-by: Navendu Pottekkat --- config.yml | 1 + content/posts/papermod/papermod-features/index.md | 1 + content/posts/papermod/papermod-installation.md | 1 + content/posts/papermod/papermod-variables.md | 1 + 4 files changed, 4 insertions(+) diff --git a/config.yml b/config.yml index 3decb44..bd01ded 100644 --- a/config.yml +++ b/config.yml @@ -188,6 +188,7 @@ params: # distance: 1000 # threshold: 0.4 # minMatchCharLength: 0 + # limit: 10 # keys: ["title", "permalink", "summary", "content"] markup: diff --git a/content/posts/papermod/papermod-features/index.md b/content/posts/papermod/papermod-features/index.md index f9ad276..74ddd73 100644 --- a/content/posts/papermod/papermod-features/index.md +++ b/content/posts/papermod/papermod-features/index.md @@ -215,6 +215,7 @@ params: distance: 1000 threshold: 0.4 minMatchCharLength: 0 + limit: 10 keys: ["title", "permalink", "summary", "content"] ``` diff --git a/content/posts/papermod/papermod-installation.md b/content/posts/papermod/papermod-installation.md index 68e6309..355bca2 100644 --- a/content/posts/papermod/papermod-installation.md +++ b/content/posts/papermod/papermod-installation.md @@ -251,6 +251,7 @@ params: distance: 1000 threshold: 0.4 minMatchCharLength: 0 + limit: 10 keys: ["title", "permalink", "summary", "content"] menu: main: diff --git a/content/posts/papermod/papermod-variables.md b/content/posts/papermod/papermod-variables.md index 8f1a14b..4a36278 100644 --- a/content/posts/papermod/papermod-variables.md +++ b/content/posts/papermod/papermod-variables.md @@ -136,6 +136,7 @@ fuseOpts: distance: 1000 threshold: 0.4 minMatchCharLength: 0 + limit: 10 keys: ["title", "permalink", "summary", "content"] ## can be less but not more than shown in list ```