mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 12:45:52 -04:00
tpl/collections: Allow first function to return an empty slice
Fixes #5235
This commit is contained in:
parent
f6dcc93bc3
commit
681f14fc9b
@ -25,3 +25,5 @@ aliases: []
|
||||
{{ .Render "summary" }}
|
||||
{{ end }}
|
||||
```
|
||||
|
||||
*Note: Exclusive to `first`, LIMIT can be '0' to return an empty array.*
|
||||
|
Loading…
x
Reference in New Issue
Block a user