X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Ffooter-addition.html;h=e97077c41aa75790c2f7fffb36cbcd9c89e656dd;hb=1bb5bdce0e57a62c05a3b6cbb49890acc2a94152;hp=dce3e8c785d1f9c4cf9b381315c7175387993628;hpb=92f65567cbc73296fcec0368ead5a635e2805a59;p=theme-danix.xyz.git diff --git a/layouts/partials/footer-addition.html b/layouts/partials/footer-addition.html index dce3e8c..e97077c 100644 --- a/layouts/partials/footer-addition.html +++ b/layouts/partials/footer-addition.html @@ -1,4 +1,25 @@ -
- back to top + + + + + + + + + + + +{{ if .HasShortcode "contact" -}} +{{ $contact := resources.Get "js/contact.js" | minify | fingerprint -}} + +{{ end -}} + +{{ $flexsearch := resources.Get "js/flexsearch.compact.js" | fingerprint -}} + +{{ $search_opts := dict "minify" true "params" (dict "searchLimit" (site.Params.searchLimit | default 20)) -}} +{{ $search := resources.Get "js/search.js" | js.Build $search_opts | fingerprint -}} +