X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Ffooter-addition.html;h=e97077c41aa75790c2f7fffb36cbcd9c89e656dd;hb=1bb5bdce0e57a62c05a3b6cbb49890acc2a94152;hp=08ee91b9dd0589c35c542cc4388d800652502fb0;hpb=cc43b16d681f8a5fb6dd69814adf0ab69b82c838;p=theme-danix.xyz.git diff --git a/layouts/partials/footer-addition.html b/layouts/partials/footer-addition.html index 08ee91b..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 -}} +