mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
langs/i18n: Fix for bare TOML keys
Hugo 0.76.0 updated go-i18n from v1 to v2. This allowed us to set the TOML unmarshaler to use, so we set the one we use in other places in Hugo. But that does not support dotted bare keys, which caused some breakage in the wild. This commit fixes that by: * Using go-toml for language files * Updating go-toml to the latest version
This commit is contained in:
2
go.mod
2
go.mod
@@ -38,7 +38,7 @@ require (
|
||||
github.com/nicksnyder/go-i18n/v2 v2.1.1
|
||||
github.com/niklasfasching/go-org v1.3.2
|
||||
github.com/olekukonko/tablewriter v0.0.4
|
||||
github.com/pelletier/go-toml v1.6.0 // indirect
|
||||
github.com/pelletier/go-toml v1.8.1
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/rogpeppe/go-internal v1.6.2
|
||||
github.com/russross/blackfriday v1.5.3-0.20200218234912-41c5fccfd6f6
|
||||
|
Reference in New Issue
Block a user