mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-24 13:50:40 +00:00
chore: use to write json assets (#263)
This commit is contained in:
parent
bbfc75ecb0
commit
77b209d0c4
@ -1,5 +1,5 @@
|
||||
{{ if default true .Site.Params.GeekdocSearch }}
|
||||
<script defer src="{{ index (index .Site.Data.assets "search.js") "src" | relURL }}"></script>
|
||||
{{- $searchConfig := resources.Get "search/config.json" | resources.ExecuteAsTemplate "search/config.json" . | resources.Minify -}}
|
||||
<!-- {{ $searchConfig.Permalink }} -->
|
||||
{{- $searchConfig.Publish -}}
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user