The way whitespace is handled in Hugo templates is difficult to understand. I
accidentally pushed a broken version to production. This fixes the issue and
improves the formatting of the template code.
Use `printf "%T"` to get a string that indicates the type of the `resource`
context item. Build a resource if its a string.
Pass a minify argument through to the build_js template.