mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-05-03 06:44:54 -04:00
Add search
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
dad9c2dfcc
commit
bfcf1fd204
2 changed files with 21 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue