{% comment %} This section is used in the blog template to render the blog page listing all articles within a blog. https://shopify.dev/docs/storefronts/themes/architecture/templates/blog {% endcomment %}

{{ blog.title }}

{% paginate blog.articles by 5 %} {% for article in blog.articles %}
{% if article.image %} {{ article.image | image_url: width: 1000 | image_tag }} {% endif %}

{{ article.title | link_to: article.url }}

{% assign date = article.published_at | time_tag: format: 'date' %}

{{ 'blog.article_metadata_html' | t: date: date, author: article.author }}

{{ article.excerpt }}

{% endfor %} {%- if paginate.pages > 1 -%} {{- paginate | default_pagination -}} {%- endif -%} {% endpaginate %} {% schema %} { "name": "t:general.blog", "settings": [] } {% endschema %}