diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-04 14:10:20 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-04 15:12:30 +0200 |
commit | 7da1b65968cd78970de8c8b61f5056dc7b0ec6b2 (patch) | |
tree | 5c2eaa91db4f603ed74ac0c4575fa2201c789ebf /hugolib | |
parent | 868f89d5c69c1f028b4d8900ccddd671a8d1922c (diff) |
all: Use the configured output types to resolve template type
Closes #320
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/hugo_sites.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go index 491bbd809..9ef2dc91e 100644 --- a/hugolib/hugo_sites.go +++ b/hugolib/hugo_sites.go @@ -101,6 +101,7 @@ func applyDepsIfNeeded(cfg deps.DepsCfg, sites ...*Site) error { return err } + d.OutputFormatsConfig = s.outputFormatsConfig s.Deps = d if err = d.LoadResources(); err != nil { @@ -112,6 +113,7 @@ func applyDepsIfNeeded(cfg deps.DepsCfg, sites ...*Site) error { if err != nil { return err } + d.OutputFormatsConfig = s.outputFormatsConfig s.Deps = d } |