mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
---
|
||||
title: uniq
|
||||
linktitle: uniq
|
||||
description: Takes in a slice or array and returns a slice with duplicate elements removed.
|
||||
categories: [functions]
|
||||
menu:
|
||||
@@ -8,11 +7,9 @@ menu:
|
||||
parent: functions
|
||||
keywords: [multilingual,i18n,urls]
|
||||
signature: [uniq SET]
|
||||
aliases: []
|
||||
---
|
||||
|
||||
|
||||
```
|
||||
```go-html-template
|
||||
{{ slice 1 3 2 1 | uniq }} --> [1 3 2]
|
||||
|
||||
```
|
||||
|
Reference in New Issue
Block a user