New Replacements config option for simpler development workflows, ignore errors from getJSON, localized dates, and more.
October 30, 2020
Go to Hugo Releases for the release downloads.
0.77.0is a small, but useful release. Some notable updates are:
- time.AsTime accepts an optional location as second parameter, allowing timezone aware printing of dates.
- You can now build with
hugo install -tags nodeployif you don’t need the
getJSONerrors can now be ignored by adding
ignoreErrors = ["error-remote-getjson"]to your site config.
There are also several useful Hugo Modules enhancements:
- We have added
Replacementsto the Module Configuration. This should enable a much simpler developer workflow, simpler to set up preview sites for your remote theme etc, as you now can do
env HUGO_MODULE_REPLACEMENTS="github.com/bep/myprettytheme -> ../.." hugoand similar.
- The module
Pathfor local modules can now be absolute for imports defined in the project.
This release represents 38 contributions by 11 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @moorereason, and @anthonyfok for their ongoing contributions. And a big thanks to @digitalcraftsman for his relentless work on keeping the themes site in pristine condition and to @davidsneighbour, @coliff and @kaushalmodi for all the great work on the documentation site.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 3 contributions by 3 contributors.
Hugo now has: