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