ComponentsPublishing
Author List
Publication authors rendered with reusable author cards.
Install
npx ghostcn@1.4.0 add author-list --skip-existingMissing 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
| Parameter | Behavior |
|---|---|
heading | Optional section heading. |
emptyText | Optional 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
| Parameter | Target |
|---|---|
class | Component 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.hbsassets/css/components/author-list.css
Was this helpful?