8. Author h-card
Date: 2026-11-22
Status
Accepted. The [author] configuration, the landing page card, and the
generated /about/ page ship with this decision.
Context
The old site put the author’s name, photo, bio, and social links in its site
configuration and rendered them in a sidebar. Listsome already has an author
name in [site] and handles for sharing, but no profile block and no about
page. The [site].about field only wraps the author name in a link to a page
the build doesn’t write.
The IndieWeb wiki calls the structured version of this information an h-card.
Its about page says a personal about page is usually an expanded h-card, and
its authorship page describes a dedicated author page as a compact h-card on
the home page linked to a fuller one elsewhere. The same wiki uses /about
for that page, so a new route is unnecessary.
Decision
Listsome gains a top level [author] table in listsome.toml. It holds an
optional display name, photo, short note, long bio, location, pronouns, URL,
email, and a list of identity links. A missing table changes nothing. Unknown
keys fail the build and name the key.
The landing page renders a compact h-card when the table has anything to show.
The short note becomes p-note, the photo becomes u-photo, the name becomes
p-name, and identity links carry rel="me" unless the author writes another
relation. The card links to /about/ when a long bio exists.
A long bio in about is Markdown. Listsome renders it and writes an expanded
h-card at /about/. The page carries u-url and u-uid on the profile link
and e-note on the rendered bio. The header gains an About link only when
that page exists.
The footer keeps using site.author. A different name in [author] changes
the h-card and nothing else.
Consequences
Positive:
- The author writes profile details once and gets a machine readable card and a human readable about page from the same data.
- The route and the markup follow published IndieWeb conventions, so other sites and readers can consume them.
- A site with no
[author]table produces byte identical pages.
Neutral:
- The
[site].aboutfield still works as an external link. The generated/about/page is separate from it. - Identity links default to
rel=me, and an author can set another relation for links that aren’t identities.
Negative:
- Listsome builds the about page from config alone. An author who wants a long page with images and sections has to put that HTML in Markdown text inside the config file, which is awkward for big bios.
- The h-card uses experimental properties such as
p-pronouns, so consumers that don’t know them still see the visible text.
Corrections: no email field
The decision said [author] would hold an email address. No such field exists
in AuthorConfig, and neither h-card prints one. site.email still reaches
the Atom feed address. An unknown email key under [author] fails the build
and names the key.