Khalid / Templates / Dispatch

Newsletters template. Dispatch

A newsletter whose site wins sign-ups, with the sign-up first on the front page beside the latest issue, each issue marked by its number in a postage stamp, and a sign-up box after every issue and list.

Free and open source, built into Khalid.

Start a blog
khalid init blog --template dispatch
Run it where you want the blog's folder. It asks for the blog's address, then builds it.

The home page, a post and a phone.

The home page of the Dispatch template
The home page
A post in the Dispatch template
A post
The home page of the Dispatch template on a phone
On a phone

What it shows.

Dispatch is a template for an email newsletter whose website has one first job: to win sign-ups. The front page opens on the sign-up, with your promise and the form, beside the latest issue. Every issue carries its number in a small postage stamp, and a sign-up box follows every issue and every list.

What the front page shows

  1. The sign-up first. When the letter goes out (cadence) as a small label, your newsletter's name large, its promise (tagline), up to three lines on what each issue holds (promises), then the reply slip: the sign-up box, a ruled card with a dashed cut line around it.
  2. Up to four proof numbers from hero_stats, such as readers and issues sent. Nothing shows until you write them.
  3. The latest issue beside the sign-up on a wide screen and under it on a phone: its picture, its stamp, the date and topic, the title, the summary and a link to read it.
  4. Recent issues as ruled rows: the stamp, the date and topic, the title, the summary and a small picture.
  5. Numbered page links. Later pages keep the sign-up at the top and list their issues.
  6. Topics: every category as a plain link.
  7. A second sign-up box at the end, for readers who scrolled through the issues first. newsletter sets where the boxes after the top one show.

Its options.

Set any of these under [template.options]. An option you leave out takes the default shown.

Option Default What it changes
tagline none The newsletter's promise in one line, under its name on the front page.
cadence none When the letter goes out, such as "Every Saturday morning". It shows above the name, and in every sign-up box when your call to action has no note.
promises none Up to three short lines on what each issue holds, each with a tick, under the promise.
feed_link true Every sign-up box also links to the feed.
hero_stats none Up to four numbers under the sign-up, each written number | what it counts.
logo true The header shows your logo from [brand] logo in place of the site's name.
breadcrumbs false Each page shows the trail of links from the home page to it.
dek true An issue shows its description under its title.
updated_note false An updated issue says why it was updated, from its updated_note.
cards "row" The shape of the cards on shared pages such as search: image, text, row, compact or ranked.
pagination "numbered" numbered links to each page near this one; pages shows only newer and older.
related_count 3 How many more issues show under an issue, from 3 to 10.
contents "inline-folded" Where a long issue's contents go: inline, inline-folded, side-end, side-start or none.
header_search "button" What the header's search does on a served site: button, link or none.
contents_numbers "none" How the contents are numbered: none, numbered or nested.
share "end" Where an issue shows its share links: none, top, end or both.
share_networks ["email", "bluesky", "linkedin"] The networks the share links go to, in order.
newsletter "both" Where the sign-up boxes after the top one show: none, post after each issue, home at the end of the front page, or both. Lists show one unless it is none.
cta_band "none" Where the band with your call to action shows: none, post, home or both. The sign-up boxes already carry it.
cta_button true The header shows your call to action as a button.

Deploy guides.

A free blog on Cloudflare

Build the blog as static pages and serve them on Cloudflare's free plan.

Running Khalid on a server

Run Khalid on your own server, beside your website or at its own address.

The full Dispatch guide

Sizes, spacing and every detail, in Khalid's docs.

Run your blog on Khalid.

Free and open source. One program, with SEO built in.