From 6cc20516c5f6628fe950fbcaa127e3552e601d37 Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 18 Jul 2022 02:54:58 -0400 Subject: [PATCH] Add search Signed-off-by: Tommy --- config.yml | 14 +++++++++++++- content/search.md | 8 ++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 content/search.md diff --git a/config.yml b/config.yml index 38fadee..11ad939 100644 --- a/config.yml +++ b/config.yml @@ -78,7 +78,15 @@ params: distance: 1000 threshold: 0.4 minMatchCharLength: 0 - keys: ["title", "permalink", "summary", "content"] + keys: ["title", "content"] + +#Enabling Search +outputs: + home: + - HTML + - RSS + - JSON # is necessary + menu: main: - identifier: Knowledge Base @@ -97,6 +105,10 @@ menu: name: Providers url: /providers/ weight: 40 + - identifier: Search + name: Search + url: /search/ + weight: 50 privacy: youtube: diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..3d2fadc --- /dev/null +++ b/content/search.md @@ -0,0 +1,8 @@ +--- +title: "Search" # in any language you want +layout: "search" # is necessary +# url: "/archive" +# description: "Description for Search" +summary: "search" +placeholder: "Enter your search query" +--- \ No newline at end of file