-
-
Save jeremeylduvall/a814a20d06c12af14a397546e68c94fa to your computer and use it in GitHub Desktop.
Final Home Page Query
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 pageQuery = graphql` | |
query IndexQuery { | |
allWordpressWpMe { | |
edges { | |
node { | |
name | |
description | |
avatar_urls { | |
wordpress_96 | |
} | |
} | |
} | |
} | |
allWordpressPost( sort: { fields: [ date ], order: DESC } ) { | |
edges { | |
node { | |
id | |
title | |
slug | |
date( formatString: "/YYYY/MM/DD/" ) | |
featured_media { | |
localFile { | |
childImageSharp { | |
sizes( maxWidth: 1000 ) { | |
...GatsbyImageSharpSizes | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment