mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Add slice-based permalinks config with PageMatcher target
Closes #14744 Clses #4641 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -187,7 +187,7 @@ func createTargetPathDescriptor(p *pageState) (page.TargetPathDescriptor, error)
|
||||
}
|
||||
}
|
||||
|
||||
opath, err := d.ResourceSpec.Permalinks.Expand(p.Section(), p)
|
||||
opath, err := d.ResourceSpec.Permalinks.Expand(p)
|
||||
if err != nil {
|
||||
return desc, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user