hugo/content/en/news/0.77.0-relnotes/index.md
Bjørn Erik Pedersen b74591123e Squashed 'docs/' changes from d1157b687..57c1d1a67
57c1d1a67 Add note about issue with Instagram shortcode
2a4355113 Add example for regional language tags (#1139)
5e9a60fc0 Format dates with "th", "nd", and "rd". (#1254)
43df9a7f6 Update index.md
f15f32590 Update index.md
5a15be93d Update configuration.md
e71c1c545 Update configuration.md
5fd0439ff Release Hugo 0.77.0
5b875477c releaser: Add release notes to /docs for release of 0.77.0
09a2a3199 docs: Regen docs helper
bebef9bbe Merge commit '9cabb46f68bae01aeb1859727dcb21e8a10f5ec7'
f5ed02685 tpl: Refactor time.AsTime location implementation
f3b8eccd2 tpl: Update Hugo time to support optional [LOCATION] parameter

git-subtree-dir: docs
git-subtree-split: 57c1d1a67b9da5ba8ad5151d464f3fd7a21a24d8
2020-11-03 13:04:56 +01: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