mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 00:14:39 +00:00
Update Last.md
This commit is contained in:
1 parent
82a2365bd5
commit
152a92d80a
1 file changed
+2
@@ -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