mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Revert "resources: Add data context to the key in ExecuteAsTemplate"
This reverts commit 18cb21ff2e
.
Fixes #7064
This commit is contained in:
parent
1664a0e893
commit
c9dc316ad1
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ type executeAsTemplateTransform struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey {
|
func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey {
|
||||||
return internal.NewResourceTransformationKey("execute-as-template", t.targetPath, t.data)
|
return internal.NewResourceTransformationKey("execute-as-template", t.targetPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error {
|
func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error {
|
||||||
|
|
Loading…
Reference in a new issue