mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-12-23 05:11:34 -05:00
Add search
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
1008ab10be
commit
6cc20516c5
14
config.yml
14
config.yml
@ -78,7 +78,15 @@ params:
|
|||||||
distance: 1000
|
distance: 1000
|
||||||
threshold: 0.4
|
threshold: 0.4
|
||||||
minMatchCharLength: 0
|
minMatchCharLength: 0
|
||||||
keys: ["title", "permalink", "summary", "content"]
|
keys: ["title", "content"]
|
||||||
|
|
||||||
|
#Enabling Search
|
||||||
|
outputs:
|
||||||
|
home:
|
||||||
|
- HTML
|
||||||
|
- RSS
|
||||||
|
- JSON # is necessary
|
||||||
|
|
||||||
menu:
|
menu:
|
||||||
main:
|
main:
|
||||||
- identifier: Knowledge Base
|
- identifier: Knowledge Base
|
||||||
@ -97,6 +105,10 @@ menu:
|
|||||||
name: Providers
|
name: Providers
|
||||||
url: /providers/
|
url: /providers/
|
||||||
weight: 40
|
weight: 40
|
||||||
|
- identifier: Search
|
||||||
|
name: Search
|
||||||
|
url: /search/
|
||||||
|
weight: 50
|
||||||
|
|
||||||
privacy:
|
privacy:
|
||||||
youtube:
|
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