mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 10:34:47 -04:00
Fix typo
This commit is contained in:
parent
e50fa452a1
commit
dab07dcb0e
@ -83,7 +83,7 @@ To create a slice of slices, starting with an empty slice:
|
||||
|
||||
|
||||
|
||||
Although the elements in the examples above are strings, you can use the `append` function with any data type, include Pages. For example, on the home page of a corporate site, to display links to the two most recent press releases followed by links to the four most recent articles:
|
||||
Although the elements in the examples above are strings, you can use the `append` function with any data type, including Pages. For example, on the home page of a corporate site, to display links to the two most recent press releases followed by links to the four most recent articles:
|
||||
|
||||
```go-html-template
|
||||
{{ $p := where site.RegularPages "Type" "press-releases" | first 2 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user