Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'resources/image_cache.go')
-rw-r--r--resources/image_cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/image_cache.go b/resources/image_cache.go
index 1bb92b6ca..b5832f740 100644
--- a/resources/image_cache.go
+++ b/resources/image_cache.go
@@ -72,7 +72,7 @@ func (c *imageCache) getOrCreate(
// For the file cache we want to generate and store it once if possible.
fileKeyPath := relTarget
if fi := parent.root.getFileInfo(); fi != nil {
- fileKeyPath.dir = filepath.ToSlash(filepath.Dir(fi.Meta().Path()))
+ fileKeyPath.dir = filepath.ToSlash(filepath.Dir(fi.Meta().Path))
}
fileKey := fileKeyPath.path()