You're up and running
This is the blog starter — a content-focused site with a homepage, blog index, post detail page, and an About page.
How the blog routes work
The site uses two patterns side-by-side:
/blog— listing page (builder page, templatepages/blog/index.twig)/blog/{id}— single-post page (builder page, templatepages/blog/post.twig)
Each post lives as an object in the blog collection. Visiting
/blog/my-post matches the /blog/{id} route and your post template
loads the matching object via {% set post = cms.data.raw('blog', params.id) %}.
Add your first post
- Go to Collections → Blog
- Click + New Object
- Fill in title, summary, and content
- Save — your post appears at
/blog/{id}immediately, no rebuild needed
Sample posts
The starter ships a handful of pre-loaded posts so the listing and detail pages have something to render. Browse them at /blog or edit them at Collections → Blog. Delete them whenever you're ready to publish your own.
Customizing
- Layout —
tcms-data/builder/layouts/default.twig - Listing page —
tcms-data/builder/pages/blog/index.twig - Post page —
tcms-data/builder/pages/blog/post.twig - Post card —
tcms-data/builder/partials/post-card.twig