Samenvoegen scripts, nu ook met search.js erbij
This commit is contained in:
parent
5fdfe1828b
commit
a6e49d31ce
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"scripts": [
|
"scripts": [
|
||||||
"js/fuse.js",
|
"js/fuse.js",
|
||||||
"js/mark.min.js"
|
"js/mark.min.js",
|
||||||
|
"js/search.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" }}
|
||||||
|
|
||||||
|
|
Reference in a new issue