Games template. Respawn
A games site with news, reviews and a release calendar, where every review shows its score as a dark square and a health bar of ten cells, on cards, lists and the review itself.
Free and open source, built into Khalid.
khalid init blog --template respawn
The home page, a post and a phone.
What it shows.
Respawn is a template for a games site: news, reviews and a release calendar. Every review shows its score as a number in a dark square and a health bar of ten cells, so a reader can scan a page of reviews at a glance.
What the front page shows
- Your site's name and the
taglinebeside it. - The lead story: the newest featured post, or the newest post, with its picture, category, title and summary, and its score when it is a review.
- Latest news beside it on wide screens and under it on phones: the newest posts without facts, each with its date and category.
news_countsets how many. - Release calendar: a tile per game from
release_calendar. On a phone the tiles scroll sideways. - Latest reviews: picture cards for the newest reviews, each with its score, health bar and platforms.
- More stories: the other posts without facts as picture cards.
- Numbered page links, your call to action as a band and the newsletter form.
What a post shows
- The category as a small label, the title and the post's description under it.
- The author with their mark and role, and the date.
- The score strip on a review: the score and health bar, then the other facts in a row between two heavy rules.
- The lead picture, then the post in one column, at 18 px or larger.
- The verdict at the end of a review: the score large with the health bar and the post's description as the one-line verdict.
verdictturns it off. - The tags, the share links and the author box.
- Related posts as rows, each with its picture and, on a review, its score.
A post without facts has no score strip and no verdict.
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 beside the site's name on the front page. |
release_calendar |
none | Up to 12 games coming out soon, each written date | game | platforms, with an optional link as a fourth part. |
news_count |
4 |
How many news posts show in the latest news beside the lead story, from 0 to 10. The rest show as cards further down. |
verdict |
true |
A review ends with the verdict: its score large and its description. |
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. |
featured |
true |
The newest featured post leads the front page. Without it, the newest post leads. |
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", "reddit", "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. |
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 Respawn 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.