Specify target path caching for resources.ExecuteAsTemplate (#2027)

This commit is contained in:
Will Faught
2023-06-28 14:42:39 -07:00
committed by GitHub
parent a54bf4cd0c
commit 42cc48c163
@@ -16,7 +16,7 @@ signature: ["resources.ExecuteAsTemplate TARGET_PATH CONTEXT RESOURCE"]
In order to use Hugo Pipes function on an asset file containing Go Template magic the function `resources.ExecuteAsTemplate` must be used.
The function takes three arguments: the target path for the created resource, the template context, and the resource object.
The function takes three arguments: the target path for the created resource, the template context, and the resource object. The target path is used to cache the result.
```go-html-template
// assets/sass/template.scss