Samenvoegen scripts, nu ook met search.js erbij

This commit is contained in:
Michael Boelen 2023-05-21 15:47:26 +02:00
parent 5fdfe1828b
commit a6e49d31ce
3 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,7 @@
{ {
"scripts": [ "scripts": [
"js/fuse.js", "js/fuse.js",
"js/mark.min.js" "js/mark.min.js",
"js/search.js"
] ]
} }

View file

@ -1,5 +1,3 @@
<script src="{{ "js/search.js" | absURL }}"></script>
{{ $assetBusting := not .Site.Params.disableAssetsBusting }} {{ $assetBusting := not .Site.Params.disableAssetsBusting }}
{{ $scripts := getJSON "assets/js/scripts.json" }} {{ $scripts := getJSON "assets/js/scripts.json" }}