Update related.md

This commit is contained in:
Pierpaolo Calanna
2023-11-01 11:24:51 +01:00
committed by Bjørn Erik Pedersen
parent 7e758c23b3
commit db0f1e682d
+1 -1
View File
@@ -48,7 +48,7 @@ A fictional example using all of the above options:
```go-html-template
{{ $page := . }}
{{ $opts :=
{{ $opts := dict
"indices" (slice "tags" "keywords")
"document" $page
"namedSlices" (slice (keyVals "tags" "hugo" "rocks") (keyVals "date" $page.Date))