Merge commit 'ef6f101e75256c3bb88a6f1f3b5c1273bf8d7382'

This commit is contained in:
Bjørn Erik Pedersen
2023-01-17 12:51:46 +01:00
30 changed files with 245 additions and 569 deletions

View File

@@ -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