Docs menuFeatures

DOCS / FEATURES

Blog

Marketing posts are Markdown files in api/content/blog/, compiled into the API binary and served as server-rendered HTML, along with an RSS feed, a sitemap, and robots.txt. Real HTML carries titles, descriptions, canonical URLs, and Open Graph tags that search engines and link previews can read, which a client-rendered SPA page can't offer. Code: api/src/blog/.

Writing a post

Add api/content/blog/<slug>.md. The file name is the URL (/blog/<slug>, in lowercase letters, digits, and dashes):

---
title: Writing posts for this blog
date: 2026-10-04
summary: Shown on the index, in the feed, and in link previews.
author: Optional byline
draft: true
---

Markdown body. Tables, footnotes, and ~~strikethrough~~ are enabled.

author and draft are optional. A post with draft: true is not published. Front matter has no comments: the value is everything after the colon, so draft: true # note is not a draft.

Posts are compiled into the binary (include_dir!), so a deploy ships them and there is nothing to copy at runtime.

Broken posts never reach visitors. A missing title, date, or summary (drafts skip this check), a malformed date, an unknown front-matter key, missing or unclosed --- front matter, or a bad slug panics at startup with the file name (main loads the catalog before serving), and the bundled_posts_parse unit test fails CI first.

Routes

Path Serves
/blog Index, newest first
/blog/{slug} A post (404 page for unknown slugs)
/blog/rss.xml RSS 2.0 feed
/sitemap.xml /, /pricing, /blog, and every post (not the signed-in app)
/robots.txt Allows everything but /api/, and points at the sitemap

[ full guide ]

The rest of this guide comes with the repo.

  • Safety
Get LaunchCrate