HUGO
News Docs Themes Community GitHub

collections.Reverse

Reverses the order of a collection.

Syntax

collections.Reverse COLLECTION

Returns

any
{{ slice 2 1 3 | collections.Reverse }} → [3 1 2]

Last updated: January 1, 0001
Improve this page