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 @bep #8278) and that you can use the attribute lists in title render hooks (.Attributes
; see cd0c5d7e @bep #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:
- 50763+ stars
- 435+ contributors
- 370+ themes
Notes
- We have made
.MediaType
comparable ba1d0051 @bep #8317#8324. This also means that the oldMediaType.Suffix
andMediaType.FullSuffix
is moved toMediaType.FirstSuffix.Suffix
andMediaType.FirstSuffix.FullSuffix
, which also better describes what they represent.
Enhancements
Templates
Output
Other
- Regenerate docs helper 86b4fd35 @bep
- Regen CLI docs 195d108d @bep
- Simplify some config loading code df8bb881 @bep
- Update github.com/evanw/esbuild v0.9.0 => v0.9.6 57d8d208 @bep
- Apply OS env overrides twice fc06e850 @bep
- Attributes for code fences should be placed after the lang indicator only b725253f @bep #8313
- Bump github.com/tdewolff/minify/v2 v2.9.15 35dedf15 @bep #8332
- More explicit support link to discourse 137d2dab @davidsneighbour
- Update to esbuild v0.9.0 1b1dcf58 @bep
- Allow more spacing characters in strings 0a2ab3f8 @moorereason #8079#8079
- Rename a test 35bfb662 @bep
- Add a debug helper 6d21559f @bep
- Add support for Google Analytics v4 ba16a14c @djatwood
- Bump go.mod to Go 1.16 782c79ae @bep #8294
- #8210 Upgrade golang version for Dockerfile 5afcae7e @systemkern
- Update CONTRIBUTING.md 60469f42 @bep
- Handle attribute lists in code fences aed7df62 @bep #8278
- Allow markdown attribute lists to be used in title render hooks cd0c5d7e @bep #8270
- bump github.com/kyokomi/emoji/v2 from 2.2.7 to 2.2.8 88a85dce @dependabot[bot]