Skip to content

Commit

Permalink
Fix broken blog social images (#3639)
Browse files Browse the repository at this point in the history
  • Loading branch information
julieg18 authored Jun 12, 2022
1 parent 1a50bd5 commit aa7597e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/blog-post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const BlogPostPage: React.FC<IBlogPostPageProps> = ({ data }) => {
image={
picture &&
(isProduction
? `/blog/${picture.childImageSharp.fields.sourcePath}`
? `/blog/images/${picture.childImageSharp.fields.sourcePath}`
: picture.childImageSharp.gatsbyImageData)
}
imageHeight={picture?.childImageSharp.gatsbyImageData.height}
Expand Down

0 comments on commit aa7597e

Please sign in to comment.