article.content / article.excerpt
The full body, and the summary entered in the Excerpt field. Use article.excerpt_or_content as a fallback.
{{ article.excerpt_or_content }}Guide
Shopify Liquid Cheat Sheet 2026
Available on blog and article templates, and anywhere through the global blogs object.
Access any blog by handle from any template.
{% for article in blogs['news'].articles limit: 3 %}
{{ article.title }}
{% endfor %}Core identifiers and the blog's URL.
<a href="{{ blog.url }}">{{ blog.title }}</a>The blog's articles, and how many there are. Paginate large blogs.
{{ blog.articles_count }} articlesWhether comments are allowed, and whether they need approval before appearing.
{% if blog.comments_enabled? %}…{% endif %}On an article page, the adjacent articles — use for next/previous navigation.
{% if blog.next_article %}
<a href="{{ blog.next_article.url }}">{{ blog.next_article.title }}</a>
{% endif %}all_tags lists every tag used in the blog; tags lists tags on the articles currently shown.
{% for tag in blog.all_tags %}{{ tag | link_to_tag: tag }}{% endfor %}Core article details.
<h1>{{ article.title }}</h1>
<p>By {{ article.author }}</p>The full body, and the summary entered in the Excerpt field. Use article.excerpt_or_content as a fallback.
{{ article.excerpt_or_content }}Timestamps — format with the date filter.
{{ article.published_at | date: '%d %b %Y' }}The article's featured image.
{% if article.image %}
{{ article.image | image_url: width: 1200 | image_tag }}
{% endif %}The article's tags.
{{ article.tags | join: ', ' }}Published comments, their count, and the URL comment forms post to.
{{ article.comments_count }} commentsComment settings inherited from the blog.
{% if article.comments_enabled? %}{% form 'new_comment', article %}…{% endform %}{% endif %}Details of a single comment. status reflects moderation.
{% for comment in article.comments %}
<p><strong>{{ comment.author }}</strong>: {{ comment.content }}</p>
{% endfor %}Shopify stores that convert, rank higher, scale and sell more.
Builds, SEO and CRO from a Shopify Plus partner team.
Monthly send · Unsubscribe any time · Privacy policy
Shopify experts
DROPSHIP HUBS helps ecommerce brands build, improve, and grow Shopify stores. We support new builds, migrations, ongoing development, SEO, and conversion optimisation.
Our team can help plan the right approach based on your store, goals, and current challenges.
Get in touch