Skip to Content

Author

The author object represents the person who wrote a blog article, including their name, email, and bio.

Usage Example

{%- comment -%} Display article author info {%- endcomment -%} <div class="author"> <strong>{{ article.author.name }}</strong> {% if article.author.bio %}<p>{{ article.author.bio }}</p>{% endif %} </div>

Properties

id

Returns the unique ID of the author.

first_name

Returns the first name of the author.

last_name

Returns the last name of the author.

email

Returns the email address of the author.

bio

Returns a short biography or profile description of the author.

homepage

Returns the homepage URL of the author, if set.

image

Returns the URL to the author’s avatar or profile image.