We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11325bc + 4a4b51b commit bdcf0f1Copy full SHA for bdcf0f1
1 file changed
src/pages/blog.js
@@ -45,7 +45,7 @@ export default mapProps(({ data: { allMarkdownRemark: { edges } } }) => ({
45
46
export let pageQuery = graphql`
47
query AllPosts {
48
- allMarkdownRemark {
+ allMarkdownRemark(sort: { fields: frontmatter___date, order: DESC }) {
49
edges {
50
node {
51
id
0 commit comments