chore(content): rename broken featured_image to legacy_featured_image#42
Merged
Merged
Conversation
The WordPress-era `featured_image` paths (/wp-content/uploads/...) were never migrated and 404 on both powershell.org and locally. Rename the key to `legacy_featured_image` across all 191 posts to preserve the values for potential recovery while freeing `featured_image` for real, working images going forward. No template currently consumes the key, so rendering is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
✅ Deploy Preview for powershellorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Summary
The WordPress-era
featured_imagepaths (/wp-content/uploads/...) were never migrated when the site moved to Hugo. They 404 on both powershell.org and locally — confirmed with HEAD requests against production.This renames the key to
legacy_featured_imageacross all 191 posts (articles + podcast) so the values are preserved for potential recovery, while freeing thefeatured_imagename for real, working images going forward.featured_image:key per file, all at front-matter line start — renamed via scripted, value-preserving replace.Relationship to the card redesign
The article-card PR (#41) reads
featured_image. With this rename in place, every existing article falls back to the generated terminal tile (no broken images); a workingfeatured_imagecan be added per-post later to show a real cover.Test plan
featured_image:keys remain; 191legacy_featured_image:present/articles/renders with nowp-contentimage references🤖 Generated with Claude Code