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
{% comment %}
Prevents an expression from being rendered or output. Any text inside
comment
tags won't be output, and any Liquid code will be parsed, but not executed. Learn more