mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
Fix sub-folder baseURL handling for Page resources
I.e. images etc. Fixes #4228
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user