Khalid / Templates / Encore

Music template. Encore

A musician's or a band's site, with the newest release on its sleeve, tour dates with ticket links, a shelf of every record and the band's notes from the studio and the road.

Free and open source, built into Khalid.

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

What it shows.

Encore is a template for a musician or a band. It puts the music first: your newest release, your tour dates and every record you have made, with your notes from the studio and the road beside them. It looks like a gig poster on a record shelf.

What the front page shows

  1. Your band's name, very large, the tagline under it, and the places to listen from listen_on as a row of links.
  2. Out now: your newest release, its cover on the sleeve with the record half out, its facts as liner notes and the Listen button.
  3. On tour: the tour dates, each with its day, city, venue and Tickets button or note.
  4. Releases: every other release on the page as a shelf of sleeves, with the title, the format and the year.
  5. Notes: your newest posts without facts as picture cards with the date and category. notes_count sets how many.
  6. Numbered page links, your call to action as a band, and the newsletter form.

On the next pages of the front page, the newest release and the tour list step aside, and every release and note on that page shows.

What a post shows

  1. The category as a small label, the title in large capitals and the post's description under it.
  2. The author with their mark and role, and the date.
  3. A release shows its cover on the sleeve, then the liner notes: the facts in ruled rows and a button for each link.
  4. A note shows its lead picture.
  5. The post in one column about 36rem wide, with a folded contents list for long posts.
  6. The tags, the share links and the author box.
  7. Related posts: releases as sleeves and notes as picture cards.

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 band's name on the front page.
listen_on none Up to four places to listen under the band's name, each written name | address.
tour_dates none The shows on the front page's tour list, up to 24, each written date | city | venue | tickets.
notes_count 3 How many notes show on the front page, from 0 to 9.
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 "image" 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 related posts show, from 3 to 10.
contents "inline-folded" Where a long post'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 a post shows its share links: none, top, end or both.
share_networks ["bluesky", "facebook", "whatsapp", "email"] The networks the share links go to, in order.
newsletter "home" Where the newsletter form shows: none, post, home or both.
cta_band "home" Where the band with your call to action shows: none, post, home or both, such as a link to your tickets.
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, such as your music videos.
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 Encore 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.