diff options
Diffstat (limited to 'commands/hugo.go')
-rw-r--r-- | commands/hugo.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index c61e64185..f10fec00b 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -127,6 +127,12 @@ func initializeConfig(mustHaveConfigFile, failOnInitErr, running bool, return nil, err } + if h := c.hugoTry(); h != nil { + for _, s := range h.Sites { + s.RegisterMediaTypes() + } + } + return c, nil } |