feat(web): blog at sqlritedb.com/blog with 5 launch posts (SQLR-34)#120
Merged
feat(web): blog at sqlritedb.com/blog with 5 launch posts (SQLR-34)#120
Conversation
Stand up an MDX-driven blog on the marketing site: - /blog index, /blog/[slug] detail, /blog/tags/[tag], /blog/rss.xml - Posts in web/content/blog/*.mdx with gray-matter frontmatter - next-mdx-remote/rsc renders MDX server-side - BlogPosting + BreadcrumbList JSON-LD per post; Blog JSON-LD on index - Per-post dynamic OG / Twitter images via next/og - Sitemap enumerates posts and tags; nav/footer link to /blog - Five launch posts covering origin story, storage internals, vector search with HNSW, benchmarks vs SQLite, and the multi-surface distribution story Hardening: slug whitelist in getPostBySlug to prevent path-traversal probing, react cache() on the loaders, force-static RSS, RSS URL fields routed through the XML escaper, alt text on OG images, UTC-pinned date formatting. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
/blogon the marketing site: index,/blog/[slug]detail,/blog/tags/[tag],/blog/rss.xml(force-static), and per-post dynamic OG/Twitter images.web/content/blog/*.mdxwith gray-matter frontmatter; rendered server-side vianext-mdx-remote/rsc.BlogJSON-LD on the index,BlogPosting+BreadcrumbListJSON-LD per post, canonical URLs, sitemap enumerates posts and tags, RSS feed advertised.getPostBySlug(path traversal),react/cacheon the loaders, RSS URL fields routed through the XML escaper, alt text on OG images, UTC-pinned date formatting.Routes
/blog/blog/[slug]/blog/[slug]/opengraph-image/blog/[slug]/twitter-image/blog/tags/[tag]/blog/rss.xmlPosts published
Each post: ≥3 internal links, primary keyword in title + slug + frontmatter, end-of-post CTA (GitHub star / install / docs).
Adding a post
Drop a new
.mdxfile inweb/content/blog/with the required frontmatter (title,description,publishedAt,author,tags). It is automatically picked up by the index, the slug route, the relevant tag pages, the RSS feed, the sitemap, and the dynamic OG image. README documents the workflow.Test plan
npm run build— 43 static pages generated, no warnings introducednpm run lint— cleannpx tsc --noEmit— cleanrss.xmlvalidates as XML and lists all 5 posts newest-first/blog/<slug>URLs prerender as SSG/blog/tags/<tag>pages/blog, a post page, and a tag page on the Vercel preview🤖 Generated with Claude Code