fix: correct broken avatar image path for Greg Dennis in blog post - #2452
Open
gouravj25551-afk wants to merge 1 commit into
Open
fix: correct broken avatar image path for Greg Dennis in blog post#2452gouravj25551-afk wants to merge 1 commit into
gouravj25551-afk wants to merge 1 commit into
Conversation
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2452 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 31 31
Lines 695 695
Branches 215 215
=========================================
Hits 695 695 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The ietf-cooperation.md post referenced /img/avatars/gregsdennis.jpg, but only a .webp version of that file exists, causing a 404 and a blank avatar on the /blog hero card (both locally and in production). Fixes json-schema-org#2451
gouravj25551-afk
force-pushed
the
fix/blog-avatar-404
branch
from
August 19, 2026 17:34
90d42ca to
b7e580d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
A bugfix.
Issue Number:
Fixes #2451
Did you add tests for your changes?
No — this is a one-line content/data fix (an image path in frontmatter), no logic changed.
Summary
pages/blog/posts/ietf-cooperation.mdreferencedphoto: /img/avatars/gregsdennis.jpg, but only a.webpversion of that file exists inpublic/img/avatars/. Since this is currently the most recent blog post, its author photo is rendered as the hero image on/blog(pages/blog/index.page.tsx,recentBlog[0].frontmatter.authors[0].photo), so the broken path causes a 404 and a blank avatar circle there — confirmed both locally and on production (https://json-schema.org/img/avatars/gregsdennis.jpg→ 404).Fix: point to the existing
gregsdennis.webpfile instead.Verification
yarn install,yarn lint,yarn typecheck,yarn build— all pass, matching this repo's pre-commit hook).next devrun that the avatar now loads (200 OK) and renders correctly in the/bloghero card, with no more 404 in the console/network tab.Does this PR introduce a breaking change?
No.