Add default sort on frontmatter data fixes #39
This commit is contained in:
parent
abd4987963
commit
6bc49591c3
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ export const pageQuery = graphql`
|
|||
title
|
||||
}
|
||||
}
|
||||
allMarkdownRemark {
|
||||
allMarkdownRemark(sort: { fields: [frontmatter___date], order: DESC }) {
|
||||
edges {
|
||||
node {
|
||||
frontmatter {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue