Khalid / Templates / Inkwell

Newsletters template. Inkwell

A long-running newsletter's archive, with the sign-up form beside the name, the latest issue with its number set large, and every issue numbered and grouped by year like bound volumes, each with its parts at a glance.

Free and open source, built into Khalid.

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

What it shows.

Inkwell is a template for the archive of a newsletter that has run for years. Every issue has a number. The front page puts the sign-up beside the newsletter's name, shows the latest issue with its number set large, then lists every issue grouped by year, each with its parts at a glance.

What the front page shows

  1. The masthead: the tagline as a small label, your newsletter's name large, and your intro. Beside it, the sign-up form with your signup_note. On a site that takes no sign-ups, such as a static site, the same box shows your call to action as a button and a link to your feed.
  2. The latest issue: the newest post with a number. Its number is set very large, beside the date, the title, the description, "In this issue" with its parts, a "Read this issue" button and its lead picture.
  3. Every issue: links to each year on the page, then the issues grouped by year. Each year opens like the spine of a bound volume: the year in large figures over a heavy rule, with how many numbered issues it holds. Each issue is a row with its number, its title and date, and its parts side by side.
  4. The page links, your call to action as a band, and the newsletter form on later pages.

The rows have no pictures, so the front page loads one photograph, the latest issue's.

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 short line over your newsletter's name, such as how often it goes out and since when.
signup_note none One line in the sign-up form, such as how many letters a reader gets.
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 "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 4 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 ["bluesky", "email"] 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 in the masthead.
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 Inkwell 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.