Skip to content

fix(seo): default description and title from site metadata#456

Merged
jimmyandrade merged 1 commit into
mainfrom
fix/seo-required-description
Jul 16, 2026
Merged

fix(seo): default description and title from site metadata#456
jimmyandrade merged 1 commit into
mainfrom
fix/seo-required-description

Conversation

@jimmyandrade

Copy link
Copy Markdown
Member

Summary

  • Local SEO wrapper defaults description and title from useSiteMetadata() when omitted (silences metax PropTypes).
  • IndexTemplate passes an explicit home-page description.
  • Unit tests cover defaults vs explicit props (100% wrapper coverage).
  • Documents the warning in TROUBLESHOOTING.md.
  • Upstream: muy/muy#154 / muy/muy#155.

Closes #455

Test plan

  • npm test -- --testPathPattern=SEO
  • Hard-refresh home page and confirm the PropTypes warning is gone

Made with Cursor

metax SEO marks description as required; IndexTemplate and other pages
often omit it. The local SEO wrapper now falls back to
useSiteMetadata(), IndexTemplate passes an explicit home description,
and TROUBLESHOOTING documents the warning. Upstream metax fix:
muy/muy#154 / muy/muy#155.

Closes #455

Co-authored-by: Cursor <cursoragent@cursor.com>
@jimmyandrade jimmyandrade added the bug Something isn't working label Jul 16, 2026
@jimmyandrade jimmyandrade self-assigned this Jul 16, 2026
@jimmyandrade
jimmyandrade merged commit 9cf3050 into main Jul 16, 2026
4 checks passed
@jimmyandrade
jimmyandrade deleted the fix/seo-required-description branch July 16, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: SEO requires description but IndexTemplate omits it

1 participant