← PluginsAvailable
Author Box
Contributor cards from your EmDash bylines.
Show who wrote a post, with names, avatars, bios and links from EmDash bylines, as an editor block or a theme component, in single or multi-author layouts.
Features
Uses EmDash bylines
No separate author records to maintain.
Single or multiple authors
Expanded and compact layouts.
Initials fallback
A tidy placeholder when there's no avatar.
Sitewide settings
Show or hide avatars, bios and links.
Author Box turns a post's EmDash bylines into contributor cards with a name, avatar, short bio and website link. It handles single and multi-author posts, removes duplicate credits and falls back to initials when there's no photo.
Two ways to place it
Editors can insert an author box in the content, and theme authors can render the component in a post template.
Install
pnpm add emdash-author-box
// astro.config.mjs
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { authorBoxPlugin } from "emdash-author-box";
export default defineConfig({
integrations: [
emdash({ plugins: [authorBoxPlugin()] }),
],
});Questions
Where do the author details come from?
From EmDash bylines, so updating a byline updates every author box that shows it.