Repository navigation
Omit image meta tags when a page has no image - #14
Conversation
Pages without a resolvable image rendered og:image, the JSON-LD logo URL and related tags as https://silveltman.nlundefined. The tags are now left out in that case. Pages still inherit the default image from the index layout, so the current output does not change. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for silveltman ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Limit details: You’ve used all 10 included reviews currently available. 📝 WalkthroughWalkthroughThe layout now accepts an optional image prop. When a transformed image exists, it uses its URL, format, and dimensions in Open Graph metadata and uses its URL and dimensions in the Schema.org logo. The Open Graph alt tag appears only when alt text is present. Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk is identified. The change omits image metadata when no image resolves while retaining metadata for resolved images; merge after normal checks pass. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Usage-based review receipt
Note This review exceeded your plan’s limits and used usage-based reviews—free during trial, billed after paid activation unless disabled. Manage usage-based reviews. Comment |
Pages without a resolvable image rendered
og:image,og:image:url,og:image:secure_urland the JSON-LD logo URL ashttps://silveltman.nlundefined, plus empty image type, size and alt tags.logoare now only rendered when the image resolves.og:image:altis only rendered when there is alt text./sil-veltman.jpg) from the index layout, so today every page keeps its image.Verification
mainand this branch is identical (only sitemaplastmoddiffers).undefinedand the image tags are left out.🤖 Generated with Claude Code
Summary by CodeRabbit