diff --git a/src/pages/index.js b/src/pages/index.js index 2bd5a77..7e3fe9d 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,5 +1,5 @@ import React from 'react' -import { Link } from 'gatsby' +import { Link, graphql } from 'gatsby' import get from 'lodash/get' import Helmet from 'react-helmet' @@ -42,7 +42,7 @@ class BlogIndex extends React.Component { export default BlogIndex export const pageQuery = graphql` - query IndexQuery { + query { site { siteMetadata { title