mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 11:57:23 -04:00
Update related.md
This commit is contained in:
parent
7e758c23b3
commit
db0f1e682d
@ -48,7 +48,7 @@ A fictional example using all of the above options:
|
|||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
{{ $page := . }}
|
{{ $page := . }}
|
||||||
{{ $opts :=
|
{{ $opts := dict
|
||||||
"indices" (slice "tags" "keywords")
|
"indices" (slice "tags" "keywords")
|
||||||
"document" $page
|
"document" $page
|
||||||
"namedSlices" (slice (keyVals "tags" "hugo" "rocks") (keyVals "date" $page.Date))
|
"namedSlices" (slice (keyVals "tags" "hugo" "rocks") (keyVals "date" $page.Date))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user