Repository navigation
docs: sitemap, social previews, favicon, robots.txt - #15
Merged
Merged
Conversation
- sitemap.xml generated at build via VitePress's built-in sitemap option (no plugin needed since 1.2). Uses git-derived lastmod. - head block adds OG + Twitter card meta, wiring through a shared 1200x630 og.png. - transformHead populates per-page canonical, og:url, og:title, og:description, twitter:title, twitter:description from each page's frontmatter. - Simple favicon.png at docs/public/favicon.png. - robots.txt points crawlers at the sitemap. - Enabled lastUpdated so the VitePress footer shows last-edit times. Generated assets kept minimal — OG image is a placeholder; replace docs/public/og.png when a designed one is available.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
Polish pass so the deployed docs site has a proper SEO and social surface.
What's added
Placeholder OG image
`docs/public/og.png` is a simple programmatically-generated image: dark background, "nuxt-c15t" + tagline in sans-serif, accent bar. Replace with a designed version when you have one — no config change needed, the filename stays the same. Same for the favicon.
Verifying
After deploy:
Test plan