Returns the content of an article. Learn more
The article
object.
Learn more
Returns the published comments of an article. Returns an empty array if comments are disabled. Learn more
Returns the number of published comments for an article. Learn more
Returns true
if comments are enabled. Returns false
if comments are disabled.
Learn more
Returns the relative URL where POST requests are sent to when creating new comments. Learn more
Returns the timestamp of when an article was created. Use the date
filter to format the timestamp.
Learn more
{{ article.created_at | date: "%a, %b %d, %y" }}
Fri, Sep 16, 11
Returns the excerpt of an article. Learn more
Returns article.excerpt
of the article if it exists. Returns article.content
if an excerpt does not exist for the article.
Learn more
Returns the handle of the article. Learn more
Returns the id of an article. Learn more
Returns the article image. Use the img_url
filter to link it to the image file on the Shopify CDN. Check for the presence of the image first.
Learn more
{% if article.image %}
{{ article | img_url: 'medium' }}
{% endif %}
Returns the article image's alt
text.
Learn more
Returns the relative URL to the article image. Learn more
{{ article.image.src | img_url: 'medium' }}
Returns true
if the blog that the article belongs to is set to moderate comments. Returns false
if the blog is not moderated.
Learn more
Returns the date/time when an article was published. Use the date
filter to format the timestamp.
Learn more
Returns returns a timestamp for when a blog article was updated. The date
filter can be applied to format the timestamp.
Learn more
Returns the relative URL of the article. Learn more
Returns an object with information about the article's author. This information can be edited in the Staff accounts options on the Account page in the Shopify admin. Learn more
Returns true
if the author of the article is the account owner of the shop. Returns false
if the author is not the account owner.
Learn more
Returns the bio of the author of an article. This is entered through the Staff members options on the Account page. Learn more
Returns the email of the author of an article. This is entered through the Staff members options on the Account page. Learn more
Returns the first name of the author of an article. This is entered through the Staff members options on the Account page. Learn more
Returns the homepage of the author of an article. This is entered through the Staff members options on the Account page. Learn more
Returns the image object of the author of the article. Learn more
{% if article.user.image %}
{{ article.user.image | img_url: '200x200' }}
{% endif %}
//cdn.shopify.com/s/files/1/0087/0462/users/user-image_200x200.png?v=1337103726
Returns the last name of the author of an article. This is entered through the Staff members options on the Account page. Learn more
comment.created_at
Returns the timestamp of when the comment was submitted.
Use the
date
filter to convert the timestamp into a more readable format. Learn more