hugo/docs/content/en/news/0.77.0-relnotes/index.md
2023-07-29 11:17:28 +02:00

9.8 KiB


date: 2020-10-30 title: "Hugo 0.77.0: Hugo Modules Improvements and More " description: "New Replacements config option for simpler development workflows, ignore errors from getJSON, localized dates, and more." categories: ["Releases"]

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 go 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:

Enhancements

Templates

Other

Fixes

Templates

Other