From c14ecf1ff917250be26d8f1e70d3bb9e7c952c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 10 Dec 2021 23:29:23 +0100 Subject: [PATCH] Update introduction.md --- content/en/hugo-pipes/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/hugo-pipes/introduction.md b/content/en/hugo-pipes/introduction.md index 052016a62..ac9b15771 100755 --- a/content/en/hugo-pipes/introduction.md +++ b/content/en/hugo-pipes/introduction.md @@ -33,7 +33,7 @@ In order to process an asset with Hugo Pipes, it must be retrieved as a `Resourc The return value from `resources.Get` includes an `.Err` method that will be set if the call failed. If you want to just log any error as a `WARNING` you can use a construct similar to the one below. -```htmlbars +```go-html-template {{ with resources.Get "https://gohugo.io/images/gohugoio-card-1.png" }} {{ with .Err }} {{ warnf "%s" . }}