Welcome to the Blog
By JK Team
Sample content. This post ships with the starter to show the blog system working end to end. Delete it (and
hello-world.md) once you publish real articles.
Why a blog
A blog gives your site fresh, indexable content and a place to answer the
questions your customers actually ask. Each post here is a Markdown file in
src/content/blog/, validated by the Content Layer schema in
src/content.config.ts.
Writing a post
Create a new .md (or .mdx) file, fill in the frontmatter (title,
description, pubDate, author, and optional tags, heroImage,
heroImageAlt, updatedDate), then write your body in Markdown. Set
draft: true to keep a post out of the production build, the RSS feed, and the
sitemap.
What you get
- Headings, lists, and links styled with the site’s design tokens.
- A byline that links to the author’s profile page.
- Tag chips that link to per-tag archives.
BlogPostingJSON-LD, an RSS feed, and OpenGrapharticlemetadata.
Here is a short paragraph with a sample link and some inline code
so you can see how those render. Below is a fenced code block:
export const collections = { blog, authors };
That’s it. Swap in your own words and ship.