Skip to content

Install the blog app

Check the Deco Blog app in the Site Editor, update it if needed, and fill in its settings.

Not built yet — This describes where the product is going, not what you can use today. It's documented so the direction is legible — nothing here works yet.

The blog runs on the Deco Blog app. It stores posts, authors, and categories in your site's content, and tells the Site Editor where your blog pages live. Setting it up has three parts: installing and configuring the app (this page), creating the pages the blog is served on, and building the blocks posts are written with.

The fastest start is the blog-tanstack template, which ships with the app, the pages, and a full set of post blocks. The steps below work for any site.

Open the app settings

Apps list in the Site Editor: Advanced (1), Apps (2), and the installed Deco Blog app (3)

  1. In the Site Editor, select Content.
  2. Expand Advanced (1) in the sidebar and select Apps (2).
  3. Select Deco Blog (3). Its settings open on the right.

If Deco Blog doesn't show Installed, the app isn't in your site's code yet. Add it as described in the blog app developer reference, or start from the template, which already includes it.

Check the app version

Deco Blog settings: Category Slug (1), Page Slug (2), Canonical Base URL (3), Publisher (4), and SEO defaults (5)

The settings should show Category Slug, Page Slug, Canonical Base URL, Publisher, and SEO defaults, as in the screenshot. If fields are missing, your site runs an older version of the app. Update it before you go on:

  • TanStack sites: update every @decocms/* package together, to the same version, then regenerate the blocks:

    bun update --latest @decocms/apps-blog @decocms/blocks @decocms/apps-website @decocms/apps-commerce
    bun run generate

    Include any other @decocms/* package in your package.json, such as @decocms/blocks-admin or @decocms/blocks-cli. If package.json pins them under overrides, change those to the same version too.

  • Deno sites: run deno task update. Deno sites don't have SEO defaults; the other four fields should be there.

Deploy the update before you rely on it. Post statuses and scheduling need @decocms/apps-blog 7.53.0 or later (deco apps 0.162.0 on Deno), and nested categories need 7.72.0 or later (0.163.1 on Deno).

Studio doesn't check the app version. On an older app, the Site Editor still lets you schedule a post, but the site ignores the status and go-live time, so the post never goes live on schedule.

Fill in the settings

FieldWhat to enterExample
Category Slug (1)The path of your category page, with :category where the category goes. Add * (:category*) so nested categories like engineering/software resolve./topics/:category*
Page Slug (2)The path of your post page, with :slug where the post slug goes. It can also include :category./:slug
Canonical Base URL (3)Your site's public address. The blog uses it in canonical links and structured data instead of the address the request came in on.https://www.mysite.com
Publisher (4)The name, logo, and URL of the organization that publishes the blog, shown to search engines as the posts' publisher.
SEO defaults (5)Title and description templates for blog pages. %s is replaced by the post or category title.%s — Blog

Changes save automatically to your draft. Publish them with Review & Publish.

The Site Editor uses Page Slug and Category Slug to build the preview links for posts and categories. Each must match the path of the page you create in the next step; otherwise See preview opens the wrong page or stays disabled.

Make the Blog group appear

The Blog group in the Content sidebar shows up once your site has at least one post, author, or category. On a new site with none, add a first category in code, for example .deco/blocks/collections%2Fblog%2Fcategories%2Fnews.json:

{
  "__resolveType": "blog/loaders/Category.ts",
  "category": { "name": "News", "slug": "news" }
}

After you publish it, open Content again. From then on you can create everything else in the Site Editor; see Manual writing.

Implementation reference: Deco Blog app props. Reviewed 2026-10-09.