mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-12-22 12:51:34 -05:00
Add search
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
dad9c2dfcc
commit
bfcf1fd204
14
config.yml
14
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:
|
||||
|
8
content/search.md
Normal file
8
content/search.md
Normal file
@ -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"
|
||||
---
|
Loading…
Reference in New Issue
Block a user