rework search integration (#262)
This commit is contained in:
parent
00334dbfbf
commit
bbfc75ecb0
7 changed files with 8 additions and 64 deletions
|
@ -1,7 +0,0 @@
|
|||
{{- $searchDataFile := printf "%s.searchdata.json" .Language.Lang -}}
|
||||
{{- $searchData := resources.Get "search/searchdata.json" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify -}}
|
||||
{
|
||||
"dataFile": {{ $searchData.RelPermalink | jsonify }},
|
||||
"indexConfig": {{ .Site.Params.GeekdocSearchConfig | jsonify }},
|
||||
"showParent": {{ if .Site.Params.GeekdocSearchShowParent }}true{{ else }}false{{ end }}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue