Skip to content

Commit

Permalink
fix(gatsby-starter-wordpress-blog): Fix altText (#30832)
Browse files Browse the repository at this point in the history
I was wondering why i hadn't alt... ;)
Thanks for this marvellous starter!

Hubert
  • Loading branch information
kaboumk authored Apr 13, 2021
1 parent 62a4121 commit 25891cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import SEO from "../components/seo"
const BlogPostTemplate = ({ data: { previous, next, post } }) => {
const featuredImage = {
fluid: post.featuredImage?.node?.localFile?.childImageSharp?.fluid,
alt: post.featuredImage?.node?.alt || ``,
alt: post.featuredImage?.node?.altText || ``,
}

return (
Expand Down

0 comments on commit 25891cc

Please sign in to comment.