Hi all,
I recently added some ld+json
type strucutred data to a site that gets built running hugo --minify
.
After the build process, I noticed that --minify
seems to ignore the JSON, leaving it as it came from the partial its defined in.
It would be great, if hugo --minify
would also support the minification of JSON, as running JSON filled with things like {{ .Site.Params.author }}
through any online minifiers doesn’t seem feasible because they interpret that as syntax errors.
Sorry if I missed something here, but I didn’t find anything on that subject using the search here.