diff options
| author | eltrac <hi@eltr.ac> | 2026-02-20 11:48:14 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-02-20 11:48:14 +0800 |
| commit | 346136ac8314ce5c8e4f06f55d642fee1e788a92 (patch) | |
| tree | c425c88cdf4b5c83cd01e573b676a4b228328c9e /layouts/_partials | |
| parent | f0a89c42c21eec6bcce6c1b21dfbf4a73b178099 (diff) | |
perf: minify instantpage
Diffstat (limited to 'layouts/_partials')
| -rw-r--r-- | layouts/_partials/scripts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/scripts.html b/layouts/_partials/scripts.html index f7e9c36b..8e65c873 100644 --- a/layouts/_partials/scripts.html +++ b/layouts/_partials/scripts.html @@ -10,7 +10,7 @@ document.addEventListener("DOMContentLoaded", () => { <!-- global JS --> {{ $commonJS := slice (resources.Get "js/tooltip.js") - (resources.Get "js/instantpage.js") + (resources.Get "js/instantpage.min.js") }} {{ $commonBundle := $commonJS | resources.Concat "js/common-bundle.js" | minify | fingerprint }} <script src="{{ $commonBundle.RelPermalink }}" integrity="{{ $commonBundle.Data.Integrity }}" defer></script> |
