From dfa504eb649c162cdf49791065b26e8c356ae99e Mon Sep 17 00:00:00 2001 From: razonyang Date: Sun, 24 Nov 2024 16:06:39 +0800 Subject: [PATCH] fix: empty `params` passed to js.Build Closes #275 --- layouts/partials/hb/assets/js.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/hb/assets/js.html b/layouts/partials/hb/assets/js.html index 3d3869b..c7b1db4 100644 --- a/layouts/partials/hb/assets/js.html +++ b/layouts/partials/hb/assets/js.html @@ -1,6 +1,6 @@ {{- $page := . }} {{/* JS compile options. */}} -{{- $params := .Site.Params.hb }} +{{- $params := site.Params.hb }} {{- $bundle := default "hb" $params.js_bundle_name }} {{- $targetPath := printf "js/%s.js" $bundle }} {{- $options := dict