Hugo Release 0.77.0


Hugo 0.77.0: Hugo Modules Improvements and More

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.

Featured Image for Hugo 0.77.0: Hugo Modules Improvements and More

Hugo 0.77.0 is 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 nodeploy if you don’t need the hugo deploy feature.
  • Remote getJSON errors 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 Replacements to 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 -> ../.." hugo and similar.
  • The module Path for 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: