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: "2.14.1 Released!"
date: 2020-06-11T04:48:05-05:00
replaces: []
So who would have guessed that some stuff would go wrong when we haven't
released in nearly two years?
The changes for 2.14.1 are small but important. There were some issues with
the Windows installer that made it impossible to install 2.14.0 and the
Mercurial revision in the About box was displaying "unknown".
Sorry for the inconvenience that this may have caused!
You can find 2.14.1 on
[SourceForge]( as
well as on [Bintray](