feat: add @nuxtjs/seo and configure it with submodules#7
Merged
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: ASSERTIVE Plan: Lite Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughIntegrates Changes
Sequence Diagram(s)sequenceDiagram
participant Browser
participant AppVue as app.vue
participant Content as Content System
participant Page as Page Loader
participant SEOModule as `@nuxtjs/seo`
participant SchemaOrg as Schema.org
participant Renderer as Vue Renderer
Browser->>AppVue: Initial load
AppVue->>Content: fetch collection('socials')
Content-->>AppVue: socials list
AppVue->>SchemaOrg: definePerson({ sameAs: social URLs })
SchemaOrg-->>AppVue: Person identity set
Browser->>Page: Request page (e.g., index or slug)
Page->>Content: fetch page data
Content-->>Page: page with metadata
Page->>SEOModule: useSeoMeta/useHead/defineOgImage (conditional)
SEOModule-->>Renderer: apply meta & head config
Renderer->>Browser: render page with SEO metadata
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.coderabbit.yml:
- Around line 8-9: Update the comment describing the "chill" profile so it
doesn't claim it's "critical-only"; locate the "chill" profile comment (the line
that currently reads "`chill` only reports critical issues") and reword it to
reflect lighter feedback—e.g., "`chill` provides lighter, less-frequent feedback
focused on higher-severity issues"—so the description matches the configured
schema and avoids misleading operators.
In `@content/index.md`:
- Around line 8-21: Remove the redundant SEO keys and the hardcoded OG image
URL: delete the duplicate seo.* entries that are auto-derived from
title/description/route (ogTitle, ogDescription, ogType, ogUrl, twitterTitle,
twitterDescription, twitterCard) and remove seo.ogImage that contains the
hardcoded https://.../og.png; instead rely on the existing ogImage defaults
configured in nuxt.config.ts and the OgImageHome component. If you need to
customise the OG image, keep only the ogImage block with component: OgImageHome
and omit props (or only include props that differ from OgImageHome.withDefaults
like a custom title/description), but do not hardcode the generated URL.
In `@nuxt.config.ts`:
- Around line 167-170: The robots user-agent list contains duplicate/outdated
entries: remove the outdated 'Claude-Web' and the duplicate 'anthropic-ai' from
the user-agent array in nuxt.config.ts so the list only contains current, unique
agents; locate the array where those strings appear and delete those two entries
(keeping any other agents intact).
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yml
Review profile: ASSERTIVE
Plan: Lite
Run ID: 69335509-f579-4207-b9c2-e67c3446e5ce
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml,!pnpm-lock.yaml
📒 Files selected for processing (13)
.coderabbit.ymlapp/app.vueapp/components/OgImage/OgImageHome.vueapp/components/OgImage/components/OgImageFooter.vueapp/pages/[...slug].vuecontent.config.tscontent/index.mdcontent/socials/bluesky.ymlcontent/socials/github.ymlcontent/socials/linkedin.ymlcontent/socials/x.ymlnuxt.config.tspackage.json
This was referenced May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR integrates the
@nuxtjs/seomodule to enhance the site discoverability and social sharing experience. It adds dedicated OG image templates, configures Schema.org Person identity with dynamic social links, and implements automated SEO metadata for all pages.Summary by CodeRabbit
New Features
Chores
Documentation