mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
tpl/collections: Allow first function to return an empty slice
Fixes #5235
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
4f9c109dc5
commit
cae07ce84b
@@ -25,3 +25,5 @@ aliases: []
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
*Note: Exclusive to `first`, LIMIT can be '0' to return an empty array.*
|
||||
|
Reference in New Issue
Block a user