hugo-theme-hilfe/layouts/partials/foot.html
2022-01-06 23:16:21 +01:00

5 lines
322 B
HTML

{{ 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.Publish -}}
{{ end }}