Add default sort on frontmatter data fixes #39

This commit is contained in:
Kyle Mathews 2017-07-18 12:45:00 -07:00
parent abd4987963
commit 6bc49591c3

View file

@ -55,7 +55,7 @@ export const pageQuery = graphql`
title
}
}
allMarkdownRemark {
allMarkdownRemark(sort: { fields: [frontmatter___date], order: DESC }) {
edges {
node {
frontmatter {