mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
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
This commit is contained in:
@@ -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() != "" {
|
||||
|
Reference in New Issue
Block a user