mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Merge commit '00c4484c7092181729f6f470805bc7d72e8ad17b'
This commit is contained in:
@@ -115,7 +115,7 @@ You can also put the returned value of the `where` clauses into a variable:
|
||||
|
||||
Using `first` and `where` together can be very
|
||||
powerful. Below snippet gets a list of posts only from [**main
|
||||
sections**](#mainsections), sorts it using the [default
|
||||
sections**]({{< relref "where.md#mainsections" >}}), sorts it using the [default
|
||||
ordering](/templates/lists/) for lists (i.e., `weight => date`), and
|
||||
then ranges through only the first 5 posts in that list:
|
||||
|
||||
@@ -163,7 +163,7 @@ section names to hard-coded values like `"posts"` or `"post"`.
|
||||
```
|
||||
|
||||
If the user has not set this config parameter in their site config, it
|
||||
will default to the _section with the most pages_.
|
||||
will default to the *section with the most pages*.
|
||||
|
||||
The user can override the default:
|
||||
|
||||
|
Reference in New Issue
Block a user