🔌

About

Package description

Production-ready author box plugin for EmDash CMS with a Portable Text block and reusable Astro component.

From the repository

  • an authorBox Portable Text block for editors

  • a reusable AuthorBox.astro component for theme developers

  • sitewide settings for avatar, bio, website link, layout, and contributor order defaults

  • graceful handling for missing bios, avatars, websites, and empty bylines

  • showing contributor avatars

  • showing contributor bios

  • showing contributor website links

  • choosing compact vs expanded multi-contributor layout

  • choosing primary-first vs byline-order sorting

  • id — optional DOM id for the rendered <aside>

  • headingLevel — choose from "p" | "h2" | "h3" | "h4"

  • showPrimaryBadge — show or hide the primary-contributor badge for multi-author output

  • one contributor → single spotlight card

  • multiple contributors + expanded layout → equal-weight contributor cards

  • multiple contributors + compact layout → tighter contributor list with clamped bios

  • the resolved primary contributor is badged in multi-author output

  • no avatar…

Releases

npm version history

VersionPublished
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1

Version and publish times come from the npm registry packument. Rows refresh when the directory sync updates this listing's metadata (not on every page load).

Provided by GitHub and npm metadata — Is this your plugin?