summaryrefslogtreecommitdiffstats
path: root/hugolib/page.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/page.go')
-rw-r--r--hugolib/page.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/hugolib/page.go b/hugolib/page.go
index a10887ad4..437170f42 100644
--- a/hugolib/page.go
+++ b/hugolib/page.go
@@ -225,9 +225,12 @@ type Page struct {
Sitemap Sitemap
URLPath
- permalink string
- relPermalink string
- relPermalinkBase string // relPermalink without extension
+ permalink string
+ relPermalink string
+
+ // relPermalink without extension and any base path element from the baseURL.
+ // This is used to construct paths in the page resources.
+ relPermalinkBase string
layoutDescriptor output.LayoutDescriptor