hugo-geekdoc/layouts/partials/foot.html

6 lines
331 B
HTML
Raw Normal View History

2020-02-27 12:17:21 +00:00
{{ if default true .Site.Params.GeekdocSearch }}
2022-01-06 21:52:22 +00:00
<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 }} -->
2020-02-27 12:17:21 +00:00
{{ end }}