feat(seo): Add more SEO fixes#1272
Conversation
This reverts commit a3fee7a.
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThis PR updates the OpenFGA documentation site with CNCF branding, landing page customization, and retroactive post-update tracking. The site configuration is rebanded with CNCF affiliation, landing page components now consume a custom branding field, SEO metadata includes the CNCF project URL, and all blog and documentation pages receive metadata updates to title, description, or publication-tracking fields. ChangesSite Branding and Metadata Consolidation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
Pull request overview
This PR implements a second iteration of SEO-focused metadata and accessibility improvements across the OpenFGA Docusaurus site, primarily by standardizing title suffixing via siteConfig.title, improving homepage title composition, enhancing blog metadata, and adding sitemap lastmod signals for blog content.
Changes:
- Updates global site title and homepage title/subtitle wiring to avoid title duplication and improve search intent matching.
- Adds blog listing metadata (
blogTitle,blogDescription) andlast_updatefrontmatter across many blog posts for sitemap freshness. - Improves accessibility of the adopters carousel (hiding duplicated logos from screen readers) and expands JSON-LD organization
sameAslinks.
Reviewed changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/theme/Root.tsx | Adds CNCF project URL to Organization JSON-LD sameAs array. |
| src/pages/index.tsx | Uses customFields.landingPageTitle (typed) for the homepage <Layout title>. |
| src/features/LandingPage/HeroHeader/index.tsx | Updates hero heading composition and uses landingPageTitle for the subtitle. |
| src/components/AdoptersCarousel/index.tsx | Adds aria-hidden for duplicated carousel images to reduce screen reader noise. |
| docusaurus.config.js | Updates title to SEO-optimized string and adds blog listing title/description. |
| docs/content/intro.mdx | Updates docs page title/description for SEO intent alignment. |
| docs/content/getting-started/setup-openfga/overview.mdx | Expands meta description to better reflect setup options and keywords. |
| docs/content/authorization-concepts.mdx | Adjusts page title to avoid redundant branding in the title text. |
| blog/query-consistency-options-announcement.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/modular-models-announcement.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/list-users-announcement.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/kubecon-na-2023.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/incubation-announcement.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/ignore-duplicate-writes-announcement.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2025-10.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2025-09.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2025-02.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2025-01.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-11.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-10.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-09.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-08.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-07.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-06.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-05.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-04.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-03.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-02.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2024-01.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/fine-grained-news-2023-12.md | Adds last_update frontmatter date for sitemap <lastmod>. |
| blog/conditional-tuples-announcement.md | Adds last_update frontmatter date for sitemap <lastmod>. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
SEO iteration 2 — a focused set of metadata and accessibility improvements across the site.
siteConfig.titleto the full SEO-optimized string"OpenFGA — Open Source Fine-Grained Authorization | CNCF", which is now used as the suffix on all page titles sitewide.customFields.landingPageTitleas the Layout title prop on the homepage, producing the correct"Fine-Grained Authorization | OpenFGA — …"output.customFields.landingPageTitleinstead ofsiteConfig.tagline.blogTitleandblogDescriptionto the blog plugin config for better representation in search results.last_updatedates: Addedlast_updatefrontmatter to 20+ blog posts so Docusaurus emits<lastmod>entries in the sitemap, improving crawl freshness signals.showLastUpdateTimeis intentionally disabled to avoid displaying redundant timestamps in the UI.intro.mdx,authorization-concepts.mdx, andsetup-openfga/overview.mdxto better match search intent.aria-hiddento duplicate logo images (used for infinite-scroll effect) so screen readers skip them.sameAsarray in the JSON-LD organization schema inRoot.tsx.Test plan
<title>tag in browser DevTools is"Fine-Grained Authorization | OpenFGA — Open Source Fine-Grained Authorization | CNCF"(no doubling)/sitemap.xml) includes<lastmod>entries for updated blog postsyarn buildwith no errorsSummary by CodeRabbit
Documentation & Blog
Branding & Content
Accessibility