Khalid / Templates / Versions

Product updates template. Versions

A software product's changelog, with every change on a version rail, a filter row for each type of change (new, improved, fixed) that works without a script, the versions as anchor links and a box to get updates by email or feed.

Free and open source, built into Khalid.

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

What it shows.

Versions is a template for a software product's changelog. Every change sits on a version rail, grouped by the version it shipped in. Readers filter the changes by type, such as new, improved or fixed, and get updates by email or in a feed reader.

What the front page shows

  1. "Changelog" as a small label, your product's name large, and the tagline under it.
  2. The filter row: "All changes", then each type of change as a chip. Each chip is a plain link to that type's page, so the filter works with scripts off.
  3. The version rail: each version in large monospace with its date on a rail, a node on a thin line (filled for the newest), and its changes beside it. Each change shows its type chip, its title and its summary.
  4. Get updates, beside the rail on wide screens and after it on phones: the sign-up form when your site takes sign-ups, then a link to the feed of every change and one per type, such as only the fixes.
  5. Versions on this page: each version as a link to its place on the rail.
  6. Numbered page links, and your call to action as a band.

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 product's name on the front page.
change_types ["new", "improved", "fixed"] The slugs of the categories that are types of change, in order, which sets each type's mark. Up to four.
feed_links true The update box and each type's page link to their feeds.
version_index true The front page and lists show the versions on the page beside the rail, as anchor links.
logo true The header shows your logo from [brand] logo in place of the site's name.
breadcrumbs true Each page shows the trail of links from the home page to it.
dek true A change shows its description under its title.
updated_note false An updated change 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 4 How many more changes show under a change, from 3 to 10.
contents "inline-folded" Where a long change'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 "none" Where a change shows its share links: none, top, end or both.
share_networks ["linkedin", "bluesky", "email"] The networks the share links go to, in order.
newsletter "post" Where the newsletter form shows: none, post, home or both. The front page always has its own update box.
cta_band "home" Where the band with your call to action shows: none, post, home or both.
cta_button true The header shows your call to action as a button, such as "Try it free".

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