{{- $js := partialCached "search/assets/js-resource" . }} {{- if hugo.IsProduction }} {{- $js = $js | fingerprint }} {{- end }}