aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page_paths.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page_paths.go')
-rw-r--r--hugolib/page_paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page_paths.go b/hugolib/page_paths.go
index 999537de4..151507be6 100644
--- a/hugolib/page_paths.go
+++ b/hugolib/page_paths.go
@@ -87,7 +87,7 @@ func (p *Page) initTargetPathDescriptor() error {
Kind: p.Kind,
Sections: p.sections,
UglyURLs: p.s.Info.uglyURLs(p),
- Dir: filepath.ToSlash(p.Source.Dir()),
+ Dir: filepath.ToSlash(p.Dir()),
URL: p.frontMatterURL,
IsMultihost: p.s.owner.IsMultihost(),
}