Start here
A blog
Posts with dates, pictures and tags, from a folder of markdown and the default look.
A blog is the site Quire makes with nothing added: one collection of dated documents.
Getting started builds one by hand, and quire new mysite copies one.
func main() {
quire.Run(model.Identity{Name: "Pictures", BaseURL: "https://example.com"}, base.Content())
}
A post
A post is a file in content/posts.
---
title: The ridge at first light
date: 2026-02-01
summary: One line of frontmatter is the whole of it.
picture: ridge.jpg
tag: [Go]
---
The body.
Each field shows up somewhere, and none of it needs a template.
The index
/posts lists every post, newest first: its month, title and summary, and its picture as a thumbnail.
The post's page
/posts/{name} is the post: its title, its date with updated beside it and a reading time, its summary, its links, its picture as the hero, then the body.
links are buttons under the date, for where the thing a post is about can be found:
links:
- label: The route
url: https://example.com/ridge
- label: More posts
url: /posts
A link to another site opens in a new tab.
Tags sit under the date, and a post with headings gets a table of contents.
What else you get
- A home page with the site's name, its description and a link to each collection. An
index.mdin the content folder replaces it. - Navigation, with the collection in it, and a light and dark toggle.
sitemap.xmlandrobots.txt, onceBaseURLis set.- A share image for each post: its
picture, or the site's card when it has none.
Drafts and featured posts
draft: truekeeps a post out of the site and the sitemap.--draftsshows it, badged, so it can be read in place before it is published.featured: truemarks a post.Collection.Featured()selects them, for a home page of your own to show first.
A card badges both. This is the portfolio example's home page, run with --drafts:
The draft's own page carries the badge too:
Tags
A tag is free text until the site declares its vocabulary, and then a tag outside it fails the load:
model.Spec{ID: "posts", Tags: model.Tags{"lang": {"Go"}, "topic": {"Design"}}}
Each tag is drawn with a class for its kind, so a language and a topic can look different. See Content.