diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-11-23 09:16:42 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-11-23 21:09:00 +0100 |
commit | f9b4eb4f3968d32f45e0168c854e6b0c7f3a90b0 (patch) | |
tree | bca87a80e39fe35b57fcb36b75fa34e6a1da677a /deps | |
parent | e82b2dc8c1628f2da33e5fb0bae1b03e0594ad2c (diff) | |
download | hugo-f9b4eb4f3968d32f45e0168c854e6b0c7f3a90b0.tar.gz hugo-f9b4eb4f3968d32f45e0168c854e6b0c7f3a90b0.zip |
Handle themes in the new file cache (for images, assets)
In the newly consolidated file cache implementation, we forgot that we also look in the theme(s) for assets (SCSS transformations etc.), which is not good for Netlify and the demo sites.
Fixes #5460
Diffstat (limited to 'deps')
-rw-r--r-- | deps/deps.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/deps.go b/deps/deps.go index a1b54a862..de6d8b52a 100644 --- a/deps/deps.go +++ b/deps/deps.go @@ -193,7 +193,7 @@ func New(cfg DepsCfg) (*Deps, error) { return nil, err } - fileCaches, err := filecache.NewCachesFromPaths(ps.Paths) + fileCaches, err := filecache.NewCaches(ps) if err != nil { return nil, errors.WithMessage(err, "failed to create file caches from configuration") } |