hugoDocs/content/functions/index-function.md
2017-02-24 00:52:40 -06:00

520 B

title linktitle description godocref date publishdate lastmod tags categories toc signature workson hugoversion relatedfuncs deprecated draft aliases
index index https://golang.org/pkg/text/template/#hdr-Functions 2017-02-01 2017-02-01 2017-02-01
functions
false false

From the godocs:

Returns the result of indexing its first argument by the following arguments. Thus "index x 1 2 3" is, in Go syntax, x[1][2][3]. Each indexed item must be a map, slice, or array.

Example