summaryrefslogtreecommitdiffstats
path: root/hugolib/page.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page.go')
-rw-r--r--hugolib/page.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/page.go b/hugolib/page.go
index 437170f42..8181de953 100644
--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -228,9 +228,9 @@ type Page struct {
permalink string
relPermalink string
- // relPermalink without extension and any base path element from the baseURL.
+ // relative target path without extension and any base path element from the baseURL.
// This is used to construct paths in the page resources.
- relPermalinkBase string
+ relTargetPathBase string
layoutDescriptor output.LayoutDescriptor
@@ -989,8 +989,8 @@ func (p *Page) RelPermalink() string {
return p.relPermalink
}
-func (p *Page) subResourceLinkFactory(base string) string {
- return path.Join(p.relPermalinkBase, base)
+func (p *Page) subResourceTargetPathFactory(base string) string {
+ return path.Join(p.relTargetPathBase, base)
}
func (p *Page) prepareForRender(cfg *BuildCfg) error {