Skip to content

Commit

Permalink
fix(RSS): correct item sorting order
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbenben committed Apr 4, 2024
1 parent 02996ee commit c22fbd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,11 @@ export default hopeTheme({
},

feed: {
atom: true,
json: true,
rss: true,
count: 10,
sorter: (a, b) => b.frontmatter.date - a.frontmatter.date,
},
},

Expand Down

0 comments on commit c22fbd9

Please sign in to comment.