diff options
Diffstat (limited to 'hugolib/site_output.go')
-rw-r--r-- | hugolib/site_output.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/site_output.go b/hugolib/site_output.go index 69e68ff9b..5ac5fe1f7 100644 --- a/hugolib/site_output.go +++ b/hugolib/site_output.go @@ -40,7 +40,7 @@ func createSiteOutputFormats(cfg config.Provider) (map[string]output.Formats, er var formats output.Formats vals := cast.ToStringSlice(v) for _, format := range vals { - f, found := output.GetFormat(format) + f, found := output.DefaultFormats.GetByName(format) if !found { return nil, fmt.Errorf("Failed to resolve output format %q from site config", format) } |