Research and academic template. Research
A research lab or academic group, with papers as a numbered reference list with venue, DOI and citations, a news feed, research areas, a people page and a cite box on every paper.
Free and open source, built into Khalid.
khalid init blog --template research
The home page, a post and a phone.
What it shows.
Research is a template for a research lab or an academic group. It shows your papers, the people who wrote them and the topics they belong to, and it reads like a lab's website, not a blog.
What the front page shows
- Your lab's name, large, and the
taglineunder it. - A row of up to four large numbers from
hero_stats, such as papers, people and grants. Nothing shows until you write them. - Recent publications: your newest papers as a numbered reference list. Each entry hangs its number, such as [3], in the margin, then shows the title, the author, the venue in small capitals with the year, and the DOI and citations under it.
- 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. - Research areas: every category as a numbered index. A category whose posts on the page are all news, such as a lab news category, is left out, so news never shows as a research area.
- Numbered page links, and your call to action as a band, such as "Open positions".
What a post shows
- The trail from the home page to the post's research area.
- The research area as a small label, the title, and the post's description as a one-line summary.
- The author with their mark and role, who reviewed it, and the date.
- The paper panel: the facts in a ruled row of cells, with the DOI linked.
- The lead picture, then the post in one column about 37.5rem wide, about 72 characters a line, with a folded contents list for long posts.
- Cite this: the reference in one line, built from the author, year, title, venue and DOI, and a BibTeX entry folded under it. A reader selects it and copies it. It needs no script.
- The keywords (tags), the share links and the author box.
- Related posts as a short reference list.
A news post has no paper panel and no cite box.
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 lab's name on the front page. |
hero_stats |
none | Up to four numbers under the lab's name, each written number | what it counts. |
news_count |
5 |
How many news posts show beside the publications on the front page, from 0 to 10. |
cite_box |
true |
A paper ends with the Cite this box. |
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 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 |
5 |
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 |
"numbered" |
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", "linkedin", "email"] |
The networks the share links go to, in order. |
newsletter |
"post" |
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 Research 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.