mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
tpl: Fix language handling in partials
We now use the same code path for all templates re this. Fixes #13612
This commit is contained in:
@@ -724,7 +724,7 @@ func (p *Path) IsContentData() bool {
|
||||
return p.pathType == TypeContentData
|
||||
}
|
||||
|
||||
func (p Path) ForBundleType(t Type) *Path {
|
||||
func (p Path) ForType(t Type) *Path {
|
||||
p.pathType = t
|
||||
return &p
|
||||
}
|
||||
|
Reference in New Issue
Block a user