mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 13:42:08 -05:00
436 B
436 B
title | description | categories | keywords | action | aliases | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
collections.Slice | Returns a slice composed of the given values. |
|
|
{{ $s := slice "a" "b" "c" }}
{{ $s }} → [a b c]
To create an empty slice:
{{ $s := slice }}