mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 22:16:02 +00:00
Fix typo
This commit is contained in:
1 parent
e50fa452a1
commit
dab07dcb0e
1 file changed
+1
-1
@@ -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
|
```go-html-template
|
||||||
{{ $p := where site.RegularPages "Type" "press-releases" | first 2 }}
|
{{ $p := where site.RegularPages "Type" "press-releases" | first 2 }}
|
||||||
|
|||||||
Reference in new issue
Block a user