Khalid / Templates / Brief

Newsletters template. Brief

A short daily or weekly digest newsletter, with every page one narrow sheet on a tinted desk, the latest issue with a tick for each item, earlier issues as dated rows, and numbered items that each end on a link to the source.

Free and open source, built into Khalid.

Start a blog
khalid init blog --template brief
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 Brief template
The home page
A post in the Brief template
A post
The home page of the Brief template on a phone
On a phone

What it shows.

Brief is a template for a short digest newsletter, sent daily or weekly. Each issue is a handful of tight items: a headline, a line or two on what happened, and a link to the source. Every page is one narrow sheet of paper on a tinted desk, so the site reads like the email, and a reader finishes an issue in about two minutes.

What the front page shows

  1. The masthead: the newsletter's name, large, and the tagline under it, with the sign-up form beside them on a wide screen.
  2. The latest issue: the newest post with facts (or, when no post has any, the newest post), with its lead picture short and wide, the stamp line (edition, issue number and date), its title and summary, the item ticks with the reading time, and a button to read it.
  3. Past issues: every other post on the page as a ruled row: the date as a small stamp of weekday, day and month, then the title, the summary, and the edition, issue number, items and reading time.
  4. Editions: every category as a row of chips.
  5. Numbered page links and your call to action as a band.

Later pages show the rows only.

What a post shows

  1. The stamp line: the edition, the issue number and the date.
  2. The title, the description as a one-line summary, the writer, and the item ticks with the reading time. A post without an item count shows its reading time in the stamp line.
  3. The lead picture, short and wide, if the post has one.
  4. The items, each numbered in the margin, in one column of about 68 characters a line. On a phone the number sits over its heading.
  5. For an issue, the sign-off line: "That's the brief. See you next issue."
  6. The tags, the share links, the author box and the sign-up form.
  7. Related issues as rows.

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 One line under the newsletter's name on the front page, such as what it covers and how often it goes out.
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 A post shows its description under its title.
updated_note false An updated post says why it was updated, from its updated_note.
cards "text" 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 related issues show, from 3 to 10.
contents "none" Where a long post's contents go: inline, inline-folded, side-end, side-start or none. An issue's items are short, so Brief shows no contents unless you ask.
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 a post 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 form shows: none, post, home or both. On the front page it sits beside the name.
cta_band "home" Where the band with your call to action shows: none, post, home or both.
cta_button false The header shows your call to action as a button.
topic_tabs false Tabs on the front page, one per topic, each with its four newest posts.
video_section false A row of the newest posts with a video.
podcast_section false A row of the newest posts with a sound player.

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 Brief 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.