Skip to content

Commit

Permalink
put most recent articles first
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan4m1 committed Dec 24, 2023
1 parent 8a09469 commit eb4d004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/articleCategory.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const pageQuery = graphql`
allMarkdownRemark(
filter: { frontmatter: { path: { glob: $pathPrefix } } }
sort: [{ frontmatter: { date: ASC } }]
sort: [{ frontmatter: { date: DESC } }]
) {
nodes {
id
Expand Down

0 comments on commit eb4d004

Please sign in to comment.