diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-01-29 10:02:24 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-01-30 20:12:03 +0100 |
commit | f31a6db797c9251a362ef9f8ad4c03fb608b5ac0 (patch) | |
tree | a47dbb5764cfc96c49882e13a7da279dc43b1eb5 /hugolib/page__paths.go | |
parent | ec22bb31a89883db5ca95404cda4f74344fd3762 (diff) | |
download | hugo-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.go | 2 |
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() != "" { |