Make asset busting depend on deployment environment
default tip
2 weeks ago, Jason Allan
Make asset busting depend on deployment environment

At the moment CSS and JS resources have a cache busting tag at the end of their href/src to force a reload when re-rendered. This is deependant on an unused setting, and is present in prod as well, this is really only a feature for development. So, it's been a PITA when diffing outputs

Testing Done:
I've run the `hugo` and `hugo serve` commands with deployment env between prod and dev, and behaviour is as expected

Reviewed at
title: Help
date: 2019-05-20T03:45:13.000Z
lastmod: 2019-08-21T04:05:48.000Z
weight: 50
We get asked questions about Pidgin a lot. Many of those questions are actually
the same questions over and over. Here we assemble a lot of them for your
benefit, hoping that these questions and answers allow you to help yourself