aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/page__paths.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2024-01-29 10:02:24 +0100
committerBjørn Erik Pedersen <[email protected]>2024-01-30 20:12:03 +0100
commitf31a6db797c9251a362ef9f8ad4c03fb608b5ac0 (patch)
treea47dbb5764cfc96c49882e13a7da279dc43b1eb5 /hugolib/page__paths.go
parentec22bb31a89883db5ca95404cda4f74344fd3762 (diff)
downloadhugo-f31a6db797c9251a362ef9f8ad4c03fb608b5ac0.tar.gz
hugo-f31a6db797c9251a362ef9f8ad4c03fb608b5ac0.zip
Add path, kind and lang to content front matter
Note that none of these can be set via cascade (you will get an error) Fixes #11544
Diffstat (limited to 'hugolib/page__paths.go')
-rw-r--r--hugolib/page__paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__paths.go b/hugolib/page__paths.go
index 6e7980a6d..b0d2009e4 100644
--- a/hugolib/page__paths.go
+++ b/hugolib/page__paths.go
@@ -127,7 +127,7 @@ func createTargetPathDescriptor(p *pageState) (page.TargetPathDescriptor, error)
Section: pageInfoCurrentSection,
UglyURLs: s.h.Conf.IsUglyURLs(p.Section()),
ForcePrefix: s.h.Conf.IsMultihost() || alwaysInSubDir,
- URL: pm.urlPaths.URL,
+ URL: pm.pageConfig.URL,
}
if pm.Slug() != "" {