mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Merge commit 'a024bc7d76fcc5e49e8210f9b0896db9ef21861a'
This commit is contained in:
@@ -27,6 +27,8 @@ Set `N` to zero to return an empty collection.
|
||||
|
||||
Use `last` and [`where`] together.
|
||||
|
||||
[`where`]: /functions/collections/where/
|
||||
|
||||
```go-html-template
|
||||
{{ range where .Pages "Section" "articles" | last 5 }}
|
||||
{{ .Render "summary" }}
|
||||
|
Reference in New Issue
Block a user