mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
d36fd5b3ee
commit
92c6c40419
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ func (tp *TranslationProvider) Update(d *deps.Deps) error {
|
||||||
bundle := i18n.NewBundle(language.English)
|
bundle := i18n.NewBundle(language.English)
|
||||||
bundle.RegisterUnmarshalFunc("toml", toml.Unmarshal)
|
bundle.RegisterUnmarshalFunc("toml", toml.Unmarshal)
|
||||||
bundle.RegisterUnmarshalFunc("yaml", yaml.Unmarshal)
|
bundle.RegisterUnmarshalFunc("yaml", yaml.Unmarshal)
|
||||||
|
bundle.RegisterUnmarshalFunc("yml", yaml.Unmarshal)
|
||||||
bundle.RegisterUnmarshalFunc("json", json.Unmarshal)
|
bundle.RegisterUnmarshalFunc("json", json.Unmarshal)
|
||||||
|
|
||||||
// The source dirs are ordered so the most important comes first. Since this is a
|
// The source dirs are ordered so the most important comes first. Since this is a
|
||||||
|
|
Loading…
Reference in a new issue