Skip to content

Commit dde6026

Browse files
committed
fix(docs): updated docs to tell about newestPostsFirst option
1 parent df97d25 commit dde6026

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

plugins/rss/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exports.config = {
3232
};
3333
```
3434

35-
It will run on only routes that include `/blog` unless specified otherwise in the `rss.config.json` file.
35+
It will run on only routes that include `/blog` unless specified otherwise in the `rss.config.json` file. The order of the posts will be oldest first unless the `newestPostsFirst` option is set in the config.
3636

3737
Create a `rss.config.json` in your root with the following properties:
3838

@@ -53,7 +53,8 @@ Create a `rss.config.json` in your root with the following properties:
5353
},
5454
"outDir": "./dist/static",
5555
"categories": ["Categories", "of", "your", "choice"],
56-
"blogPostRouteSlug": "/blog"
56+
"blogPostRouteSlug": "/blog",
57+
"newestPostsFirst": true
5758
}
5859
```
5960

0 commit comments

Comments
 (0)