Conversation
The home page title rendered as "Dispatches | Dispatches" because PageLayout unconditionally appended "| SITE.NAME". Now skip the suffix when the page title already matches the site name. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ReviewThis is a clean, minimal fix for the duplicate site name issue. The change is correct and well-scoped. The ternary on line 17 handles the edge case without touching anything else. One minor note: the fix is string-equality based, which works perfectly here since the home page title is literally set to SITE.NAME. If a future page happened to use the site name as its title for some other reason, it would also skip the suffix — but that is almost certainly the right behavior anyway, so no action needed. Test plan looks good. Approve when both checklist items are verified. |
PR Validation ✅All checks passed! Ready for review. Checks Performed:✓ Linting This is a complete dry-run of the deployment process, ensuring your changes will deploy successfully when merged. |
Summary
| Dispatchessuffix when the page title already equals the site nameTest plan
🤖 Generated with Claude Code