text: import React from "react"
  import { graphql } from "gatsby"
  import Layout from "../layouts/index"
  import SEO from "../components/seo"
  import Posts from "../components/posts"
  
  const Blog = ({ data, location }) => {
    const siteTitle = data.site.siteMetadata.title
    return (
      <Layout location={location} title={siteTitle}>
        <SEO title="Blog" />
        <Posts />
      </Layout>
    )
  }
  
  export default Blog
  
  export const pageQuery = graphql`
    query {
      site {
        siteMetadata {
          title
        }
      }
    }
  `
  