
Building this site requires Hugo (not yet included in the README or in the installation of dependencies in the Makefile). Still very much work in progress, this is basically the [Geekdocks theme][1] + one page. [1]: https://geekdocs.de/
8 lines
411 B
JSON
8 lines
411 B
JSON
{{- $searchDataFile := printf "search/%s.data.json" .Language.Lang -}}
|
|
{{- $searchData := resources.Get "search/data.json" | resources.ExecuteAsTemplate $searchDataFile . | resources.Minify -}}
|
|
{
|
|
"dataFile": {{ $searchData.RelPermalink | jsonify }},
|
|
"indexConfig": {{ .Site.Params.GeekdocSearchConfig | jsonify }},
|
|
"showParent": {{ if .Site.Params.GeekdocSearchShowParent }}true{{ else }}false{{ end }}
|
|
}
|