summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/images/index.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-01-17 12:51:46 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-01-17 12:51:46 +0100
commitb661132e0ac651fa229511f05f58554717f4d0d0 (patch)
tree7e1b3ff9ca2f2284809f840c067edc308aa35f52 /docs/content/en/functions/images/index.md
parentd595419031b247d6f15a615f6e70b1956ff8eab1 (diff)
parentef6f101e75256c3bb88a6f1f3b5c1273bf8d7382 (diff)
Diffstat (limited to 'docs/content/en/functions/images/index.md')
-rw-r--r--docs/content/en/functions/images/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/en/functions/images/index.md b/docs/content/en/functions/images/index.md
index 0cf45b6ee..e7fc50f7e 100644
--- a/docs/content/en/functions/images/index.md
+++ b/docs/content/en/functions/images/index.md
@@ -60,7 +60,7 @@ You can load a custom font if needed. Load the font as a Hugo `Resource` and set
```go-html-template
-{{ $font := resources.Get "https://github.com/google/fonts/raw/main/apache/roboto/static/Roboto-Black.ttf" }}
+{{ $font := resources.GetRemote "https://github.com/google/fonts/raw/main/apache/roboto/static/Roboto-Black.ttf" }}
{{ $img := resources.Get "/images/background.png"}}
{{ $img = $img.Filter (images.Text "Hugo rocks!" (dict
"font" $font