mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 18:04:45 -04:00
resources: Add data context to the key in ExecuteAsTemplate
Fixes #7046
This commit is contained in:
parent
df298558a5
commit
18cb21ff2e
@ -48,7 +48,7 @@ type executeAsTemplateTransform struct {
|
||||
}
|
||||
|
||||
func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey {
|
||||
return internal.NewResourceTransformationKey("execute-as-template", t.targetPath)
|
||||
return internal.NewResourceTransformationKey("execute-as-template", t.targetPath, t.data)
|
||||
}
|
||||
|
||||
func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user