Skip to content

Instantly share code, notes, and snippets.

@matlc
Created July 20, 2019 21:46
Show Gist options
  • Save matlc/b66efb1a90a14e506ae3e1b13c932270 to your computer and use it in GitHub Desktop.
Save matlc/b66efb1a90a14e506ae3e1b13c932270 to your computer and use it in GitHub Desktop.
export const query = graphql`
query ($id: String!) {
post: postsJson(id: {eq: $id}) {
title
slug
content
publishDate(formatString: "MMMM DD, YYYY")
tags
author {
slug
name
biography
}
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment