mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-07 10:15:00 -04:00
Update Last.md
This commit is contained in:
parent
82a2365bd5
commit
152a92d80a
@ -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" }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user