mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
307 B
307 B
title | linktitle | description | categories | menu | keywords | signature | aliases | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
uniq | uniq | Takes in a slice or array and returns a slice with duplicate elements removed. |
|
|
|
|
{{ slice 1 3 2 1 | uniq }} --> [1 3 2]