mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Discrepancy typo fix
This commit is contained in:
parent
ad1d6d6406
commit
c5319db9f1
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func DecodeOptions(m map[string]interface{}) (opts Options, err error) {
|
|||
err = mapstructure.WeakDecode(m, &opts)
|
||||
|
||||
if !opts.NoMap {
|
||||
// There was for a long time a disrepency between documentation and
|
||||
// There was for a long time a discrepancy between documentation and
|
||||
// implementation for the noMap property, so we need to support both
|
||||
// camel and snake case.
|
||||
opts.NoMap = cast.ToBool(m["no-map"])
|
||||
|
|
Loading…
Reference in a new issue