Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken blog social images #3639

Merged
merged 1 commit into from
Jun 12, 2022
Merged

Conversation

julieg18
Copy link
Contributor

No description provided.

@shcheklein shcheklein temporarily deployed to dvc-org-fix-broken-blog-frg5xs June 12, 2022 19:24 Inactive
@@ -69,7 +69,7 @@ const BlogPostPage: React.FC<IBlogPostPageProps> = ({ data }) => {
image={
picture &&
(isProduction
? `/blog/${picture.childImageSharp.fields.sourcePath}`
? `/blog/images/${picture.childImageSharp.fields.sourcePath}`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sourcePath at some point changed, breaking how we generated our social image paths. Maybe when #3396 was merged, but I'd need to debug further to be sure.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure it was 3396, I remember having to change something to do with sourcepath in order to fix a build-breaking issue

@julieg18 julieg18 self-assigned this Jun 12, 2022
@julieg18 julieg18 requested a review from a team June 12, 2022 19:35
@shcheklein
Copy link
Member

CSS lint tests are failing ...

@julieg18
Copy link
Contributor Author

CSS lint tests are failing ...

Yes, both CSS and JS lints tests are failing right now! Investing further right now but it doesn't have anything to do with this pr.

@julieg18 julieg18 merged commit aa7597e into master Jun 12, 2022
@julieg18 julieg18 deleted the fix-broken-blog-social-images branch June 12, 2022 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants