content: import React from 'react';
  
  import BlogPost from '../components/BlogPost.jsx';
  
  export default ({ data }) => <BlogPost data={data.markdownRemark} wholeArticle={true} />;
  
  export const query = graphql`
    query BlogPostBySlug($slug: String!) {
      markdownRemark(fields: { slug: { eq: $slug } }) {
        frontmatter {
          title
          date
        }
        excerpt
        html
        timeToRead
        fields {
          slug
        }
      }
    }
  `;
  