Skip to content

chore(content): rename broken featured_image to legacy_featured_image#42

Merged
HeyItsGilbert merged 1 commit into
mainfrom
chore/rename-legacy-featured-image
Jun 23, 2026
Merged

chore(content): rename broken featured_image to legacy_featured_image#42
HeyItsGilbert merged 1 commit into
mainfrom
chore/rename-legacy-featured-image

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Summary

The WordPress-era featured_image paths (/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_image across all 191 posts (articles + podcast) so the values are preserved for potential recovery, while freeing the featured_image name for real, working images going forward.

  • One featured_image: key per file, all at front-matter line start — renamed via scripted, value-preserving replace.
  • No template currently consumes the key, so rendering is unchanged by this PR alone.

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 working featured_image can be added per-post later to show a real cover.

Test plan

  • 0 featured_image: keys remain; 191 legacy_featured_image: present
  • Spot-checked front matter intact (value preserved verbatim)
  • /articles/ renders with no wp-content image references

🤖 Generated with Claude Code

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>
@netlify

netlify Bot commented Jun 23, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit ddb3440
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6a3b09be1b6a900008cc6a69
😎 Deploy Preview https://deploy-preview-42--powershellorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@HeyItsGilbert HeyItsGilbert merged commit c1eb617 into main Jun 23, 2026
5 checks passed
@HeyItsGilbert HeyItsGilbert deleted the chore/rename-legacy-featured-image branch June 23, 2026 22:38
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.

1 participant