Hello, world — welcome to the playground
This post is hand-authored placeholder content. When the Slate snippet connects to a real site, it'll fetch the matching post by slug and swap this content out with whatever's in the CMS.
How the swap works
The snippet loads a small manifest — a list of every published
slug on the site — and compares it against window.location.pathname.
If there's a match, it fetches the full content as JSON blocks and
renders them into the page's <main> element.
The static HTML is the shell. The CMS is the voice. Separate concerns, same page.
What to try
- Create a post in the Slate app with slug
/blog/hello-worldand reload this page — your content should replace this placeholder. - Edit the title and meta description in Slate — watch the browser tab and
og:tags update. - Publish a post at a slug that has no matching HTML file — the snippet will rebuild the page from the cached header and footer.
This file lives at blog/hello-world.html in the repo. Feel
free to edit it locally and push — the static version is what visitors
see until the Slate snippet kicks in.