Skip to content

v0.87.0

Compare
Choose a tag to compare
@bep bep released this 03 Aug 12:40
· 2188 commits to master since this release

Hugo 0.87 brings two long sought-after features: Default time zone support (per language if needed) for dates without zone offset or location info, and localized time and dates and numbers (backed by CLDR).

For more information, see:

  • The time zone config documentation.
  • The time.Format documentation. This function will now give you localized dates (with weekdays and months in the current language). It supports all of Go's layout syntax, but also some predefined constants, e.g. {{ .Date | time.Format ":date_long" }}.
  • A set of new localized number formatting

Also in this release, we have switched to using go-toml for all things TOML in Hugo. A big thanks to @pelletier for his work on the v2 version. It's both faster than what we had and TOML v1.0.0 compliant.

This release represents 40 contributions by 4 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @dependabot[bot], @digitalcraftsman, and @jmooring for their ongoing contributions.

Many have also been busy writing and fixing the documentation in hugoDocs,
which has received 1 contributions by 1 contributors.

Hugo now has:

Notes

Enhancements

Templates

Other

Fixes

Other