From 42cc48c163644d7cc0039e1ca0204c073819b78e Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 28 Jun 2023 14:42:39 -0700 Subject: [PATCH] Specify target path caching for resources.ExecuteAsTemplate (#2027) --- content/en/hugo-pipes/resource-from-template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/hugo-pipes/resource-from-template.md b/content/en/hugo-pipes/resource-from-template.md index 778eb0341..32da0a7fc 100755 --- a/content/en/hugo-pipes/resource-from-template.md +++ b/content/en/hugo-pipes/resource-from-template.md @@ -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