summaryrefslogtreecommitdiffstats
path: root/markup/markup_config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/markup_config/config.go')
-rw-r--r--markup/markup_config/config.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/markup/markup_config/config.go b/markup/markup_config/config.go
index a3562cd24..d4a101709 100644
--- a/markup/markup_config/config.go
+++ b/markup/markup_config/config.go
@@ -24,7 +24,6 @@ import (
"github.com/gohugoio/hugo/markup/tableofcontents"
"github.com/gohugoio/hugo/parser"
"github.com/mitchellh/mapstructure"
- "github.com/spf13/cast"
)
type Config struct {
@@ -73,7 +72,7 @@ func normalizeConfig(m map[string]interface{}) {
if err != nil {
return
}
- vm := cast.ToStringMap(v)
+ vm := maps.ToStringMap(v)
// Changed from a bool in 0.81.0
if vv, found := vm["attribute"]; found {
if vvb, ok := vv.(bool); ok {