Skip to content

Commit 79ff85c

Browse files
committed
typo
Signed-off-by: Bruno Meilick <[email protected]>
1 parent 4e2fa46 commit 79ff85c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ If you use these defaults you need to provide the fields `date (type: date)` and
4343
```
4444

4545
**virtual page in site/config.php**
46+
4647
```php
4748
return [
4849
'routes' => [
@@ -75,6 +76,7 @@ or rss json
7576
```
7677

7778
**Sorting by date**
79+
7880
Using `sortBy('date', 'desc')` will **not** yield expected results! In K3 sorting by date needs a callback.
7981
```php
8082
$feed = page('blog')->children()->visible()->sortBy(function ($page) {

0 commit comments

Comments
 (0)