{{ $script := .Site.Data.webpack_assets.app }} {{ with $script.js }} <script src="{{ absURL (printf "%s%s" "/dist/" .) }}"></script> {{ end }}