mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 22:50:35 +03:00
tpl/collections: Allow first function to return an empty slice
Fixes #5235
This commit is contained in:
parent
4f9c109dc5
commit
cae07ce84b
3 changed files with 5 additions and 2 deletions
|
@ -25,3 +25,5 @@ aliases: []
|
|||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
*Note: Exclusive to `first`, LIMIT can be '0' to return an empty array.*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue