diff options
Diffstat (limited to 'hugolib/page.go')
-rw-r--r-- | hugolib/page.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page.go b/hugolib/page.go index f5031332c..8aad8dcc7 100644 --- a/hugolib/page.go +++ b/hugolib/page.go @@ -954,7 +954,7 @@ func (p *pageState) sourceRefs() []string { path := meta.PathFile() if path != "" { - ref := "/" + path + ref := "/" + filepath.ToSlash(path) if ref != refs[0] { refs = append(refs, ref) } |