diff --git a/src/components/blogPost.js b/src/components/blogPost.js index c045dae..0f42023 100644 --- a/src/components/blogPost.js +++ b/src/components/blogPost.js @@ -1,6 +1,6 @@ import * as React from "react" import * as styles from "./blogPost.module.css" - +import Seo from "../components/seo" import { graphql } from "gatsby" import { GatsbyImage } from "gatsby-plugin-image" import PortableText from "@sanity/block-content-to-react" @@ -57,28 +57,34 @@ const serializer = { const BlogPost = ({ data }) => { return ( -
-
-
-

{data.sanityPost._createdAt}

- -

{data.sanityPost.title}

-

{data.sanityPost.excerpt}

-
+ <> + +
+
+
+

{data.sanityPost._createdAt}

+

{data.sanityPost.title}

+

{data.sanityPost.excerpt}

+
+ +

{data.sanityPost.author.name}

+
+
+
+ -

{data.sanityPost.author.name}

-
-
- -
-
-
+ + + ) }