tr-blog — Set Up a Blog
Triggers on: “add a blog”, “set up news”, “article section”, “create posts”, “inlägg”, “nyheter”
What it does
Section titled “What it does”- Creates a
blogcollection with a schema (title, slug, date, author, excerpt, body, image, tags) - Seeds 2–3 real articles with your content
- Generates the listing page (
/blog) with a card grid - Creates individual article pages (
/blog/article-slug) - Updates the header navigation to include a link to the blog
- Deploys
Important: static site means manual sync
Section titled “Important: static site means manual sync”Typeroll generates a static site — there is no template engine that auto-renders collection items. Instead, Claude writes the listing HTML directly from the current items. This means:
- Adding a new article requires updating the listing page HTML too
- Claude handles this automatically when you say “add a new article to the blog”
- There is no magic sync — ask Claude explicitly after adding articles
Example prompts
Section titled “Example prompts”Add a blog to our site. The first three articles should be:1. "Vår designfilosofi" — about our minimal approach2. "Projekt: Östermalm" — a completed interior project3. "Höstens trender 2025" — trend roundupAdd a new blog post: "Working with natural materials" — about our useof wood, stone and linen. Published today. Author: Maria Svensson.Field name rules
Section titled “Field name rules”Field names must be lowercase ASCII only. Swedish and other Nordic characters must be transliterated:
| Wrong | Right |
|---|---|
rubrik | title (or rubrik — ASCII, this one is fine) |
författare | forfattare |
datum | date (or datum — fine) |
ämne | amne |
The label shown in the portal UI can be any text — only the internal name must be ASCII.
Article page structure
Section titled “Article page structure”Each article gets its own page with kind: "article" which activates automatic Article JSON-LD schema:
/blog/ ← listing page/blog/var-designfilosofi ← individual article/blog/projekt-ostermalmSlugs must be globally unique — the /blog/ prefix prevents collisions with other pages.