aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page_collections.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page_collections.go')
-rw-r--r--hugolib/page_collections.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page_collections.go b/hugolib/page_collections.go
index 0dfff8b5d..78325344b 100644
--- a/hugolib/page_collections.go
+++ b/hugolib/page_collections.go
@@ -101,9 +101,9 @@ func (c *PageCollections) refreshPageCaches() {
}
// Ref/Relref supports this potentially ambiguous lookup.
- add(p.Source.LogicalName(), p)
+ add(p.LogicalName(), p)
- translationBaseName := p.Source.TranslationBaseName()
+ translationBaseName := p.TranslationBaseName()
dir, _ := path.Split(sourceRef)
dir = strings.TrimSuffix(dir, "/")