-
-
Save christiannwamba/30e2cf6c35fbf063d35714aad8f289b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const query = graphql` | |
query IndexQuery { | |
allMarkdownRemark(sort: {fields: [frontmatter___date], order: DESC}){ | |
totalCount | |
edges { | |
node { | |
id | |
frontmatter { | |
title | |
date | |
author | |
} | |
fields { | |
slug | |
} | |
excerpt | |
} | |
} | |
} | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment