Author template
Render author bylines in post templates and understand the current author-route limitation
Authors are available to post templates as byline records. The standard FrontStage route currently does not render author detail pages, so templates/author.liquid is not a supported default-route template.
Location
The author template lives in templates/:
└── theme
└── templates
├── author.liquid // base template
└── author.featured.liquid // optional named variantsOnly add templates/author.liquid when your project provides its own route integration. For normal custom themes, render author data inside a post template.
The author object
| Property | Type | Description |
|---|---|---|
id | string | Unique identifier |
displayName | string | Preferred byline; falls back to the author's name fields |
name | string | Configured display name, when present |
firstName | string | First name |
lastName | string | Last name |
richName_html | string | Richly formatted name, when configured |
slug | string | URL-safe identifier |
url | string | Derived author path (/authors/<slug>); not editable |
image | media | Profile image |
The fields supplied on an author relationship are a public summary, not the complete author record.
Patterns
Post byline
{% for author in post.authors %}
<span class="byline">
{% if author.image %}
<img
src="{{ author.image | image_url: width: 48, height: 48, fit: 'cover' }}"
alt=""
>
{% endif %}
{{ author.displayName | default: author.name }}
</span>
{% endfor %}Related
- Post template: author records are linked from posts as bylines.
- Template context: global functions and variables available alongside
author. - Templates: the broader template-writing workflow.