From f31a6db797c9251a362ef9f8ad4c03fb608b5ac0 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Mon, 29 Jan 2024 10:02:24 +0100 Subject: 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 --- hugolib/page__paths.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hugolib/page__paths.go') 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() != "" { -- cgit v1.2.3