hugo/docs/content/en/news/0.82.0-relnotes/index.md
2021-03-21 17:28:02 +00:00

7.7 KiB


date: 2021-03-21 title: "0.82.0" description: "0.82.0" categories: ["Releases"]

This is a small release, mostly a maintainance/bugfix release. But also notable is that you can now add custom Markdown attributes (e.g. CSS classes) to code fences ([aed7df62](https://github.com/gohugoio/hugo/commit/aed7df62a811b07b73ec5cbbf03e69e4bbf00919) [@bep](https://github.com/bep) [#8278](https://github.com/gohugoio/hugo/issues/8278)) and that you can use the attribute lists in title render hooks (`.Attributes`; see [cd0c5d7e](https://github.com/gohugoio/hugo/commit/cd0c5d7ef32cbd570af00c50ce760452381df64e) [@bep](https://github.com/bep) [#8270](https://github.com/gohugoio/hugo/issues/8270)).

This release represents 28 contributions by 8 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 @gzagatti 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 20 contributions by 12 contributors. A special thanks to @bep, @jmooring, @rootkea, and @PaulPineda for their work on the documentation site.

Hugo now has:

Notes

  • We have made .MediaType comparable ba1d0051 @bep #8317#8324. This also means that the old MediaType.Suffix and MediaType.FullSuffix is moved to MediaType.FirstSuffix.Suffix and MediaType.FirstSuffix.FullSuffix, which also better describes what they represent.

Enhancements

Templates

  • Add method mappings for strings.Contains, strings.ContainsAny 7f853003 @bep

Output

Other

Fixes

Output

Other