- Getting Started
- Liquid reference
- Filters reference
- Tags reference
- Localization
- Theme structure
- Theme sections
- Theme assets
- Theme config
- Theme layout
- Theme templates
-
- article.liquid
- blog.liquid
- cart.liquid
- collection.liquid
- customer/account.liquid
- customer/addresses.liquid
- customer/details.liquid
- customer/login.liquid
- customer/order.liquid
- customer/register.liquid
- customer/reset-password.liquid
- home.liquid
- page.no-heading.liquid
- products.liquid
- search.liquid
- list-collections.liquid
- store-locator.liquid
- 404.liquid
- customer/activate_account.liquid
- customer/orders.liquid
- Submission
article
The article object represents a single blog article. It is available on the article template, and when looping over blog.articles.
The article object has the following attributes:
article.title
Returns the title of the article.
{{ article.title }}
article.url
Returns the relative URL of the article.
article.author
Returns the full name of the article's author.
article.published_at
Returns the date and time when the article was published. Use the date filter to format the timestamp.
{{ article.published_at | date: '%Y-%m-%d' }}
2026-07-21
article.created_at
Returns the date and time when the article was created.
article.updated_at
Returns the date and time when the article was last updated.
article.image
Returns the featured image of the article as an image object. Access the image source with article.image.src.
{% if article.image %}
<img src="{{ article.image.src }}" alt="{{ article.title }}">
{% endif %}
article.image_url
Returns the URL of the article's featured image.
article.excerpt
Returns the excerpt of the article, if one has been set.
article.content
Returns the full content of the article as HTML.
article.body_html
Returns the body of the article as HTML. This is typically used to render the article on the article template.
{{ article.body_html }}
article.description
Returns the description of the article. This is often used as a short summary when listing articles.
{{ article.description | strip_html | truncatewords: 30 }}
article.comments_count
Returns the number of published comments on the article.