X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Ffooter-addition.html;h=e97077c41aa75790c2f7fffb36cbcd9c89e656dd;hb=1bb5bdce0e57a62c05a3b6cbb49890acc2a94152;hp=5f8396c9491bb9ee69fb997bb232ef3bff92e0ca;hpb=00bd3a19ecce5fbf041471128751311dc7c60b0a;p=theme-danix.xyz.git diff --git a/layouts/partials/footer-addition.html b/layouts/partials/footer-addition.html index 5f8396c..e97077c 100644 --- a/layouts/partials/footer-addition.html +++ b/layouts/partials/footer-addition.html @@ -1,5 +1,25 @@ -
+ + + + + + + + + + + +{{ 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 -}} +