Ghostcn
Skip to Content
ComponentsPublishing

Author List

Publication authors rendered with reusable author cards.

Install

npx ghostcn@1.4.0 add author-list --skip-existing

Missing dependencies install automatically: Author Card. Existing dependency files are preserved.

Usage

Queries up to 100 Ghost authors. Use a custom paginated query for a larger directory. Without results, the block is hidden unless you pass emptyText.

{{> "components/author-list" heading="Meet the authors"}}

Component options

ParameterBehavior
headingOptional section heading.
emptyTextOptional message when no content is available; otherwise render nothing.

Customize this instance

{{> "components/author-list" heading="Meet the authors" class="my-6" titleClass="text-purple-700 dark:text-purple-300"}}

Styling parameters

ParameterTarget
classComponent root — .ghcn-author-list
titleClass.ghcn-author-list__title
gridClass.ghcn-author-list__grid
cardClass.gh-author-card
cardTitleClass.gh-author-name
avatarClass.gh-author-avatar, .gh-author-avatar-fallback
descriptionClass.gh-author-bio

Styling parameters affect only elements that render. See Style component instances for specificity, dark mode, and preserving customizations.

Installed files

  • partials/components/author-list.hbs
  • assets/css/components/author-list.css

View the registry source

Edit this page on GitHub

Was this helpful?

On this page