Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-10-08 10:37:40 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-10-08 15:20:18 +0300
commitfc6abc39c75c152780151c35bc95b12bee01b09c (patch)
tree591579c5872888acc6341aa706f8f69e8ff3837f /go.mod
parent18ed22be5c79a3a9bb8d3f8de30888817e751ee1 (diff)
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
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index cf4c3386c..09190bf63 100644
--- a/go.mod
+++ b/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