Blog post
A published or draft blog post on the company's site.
A published or draft blog post on the company's site.
Properties
author
The post's author.
Returns: AuthorDrop or nil — nil when no author is assigned.
body
The blog post body as HTML entered in the seller admin.
Returns: String
hero_image
The blog post's hero image.
Returns: ImageDrop or nil — nil when no hero image has been uploaded.
next_post
The adjacent older published post in the company's blog listing order
(published_at descending).
Returns: BlogPostDrop or nil — nil when this is the oldest published post.
previous_post
The adjacent newer published post in the company's blog listing order
(published_at descending).
Returns: BlogPostDrop or nil — nil when this is the newest published post.
published_at
When the post was published. Use with Liquid's date filter to format
for display.
Returns: Time or nil — nil when the post is unpublished.
tagline
A short summary shown beneath the title on blog pages and cards.
Returns: String or nil
title
The blog post's title.
Returns: String
type
The Liquid object type identifier for this post.
Returns: String — always "blog_post".
url
The canonical URL of this blog post on the site.
Returns: String