mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
Update related.md
This commit is contained in:
1 parent
7e758c23b3
commit
db0f1e682d
1 file changed
+1
-1
@@ -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))
|
||||||
|
|||||||
Reference in new issue
Block a user