{% comment %}{% include 'breadcrumb' %}{% endcomment %}

{% if current_tags %} {{ blog.title | link_to: blog.url }} — {{ current_tags.first }} {% else %} {{ blog.title }} {% endif %}

{% for article in blog.articles %} {% if forloop.first == false %}
{% endif %}

{{ article.title }}

{% if article.author %} {{ article.author }} {% endif %}

{% if article.image.src %} {% assign image_alt = article.title | escape %}
{{ article | img_url: '1200x' | img_tag: image_alt, 'article__image' | link_to: article.url }}
{% endif %}

{{ article.description }}

{% comment %} Add a surrounding div with class 'rte' to anything that will come from the rich text editor. Since this is just a listing page, you can either use the excerpt or truncate the full article. {% endcomment %}
{% if article.excerpt.size > 0 %} {{ article.excerpt }} {% else %}

{{ article.content | strip_html | truncatewords: 100 }}

{% endif %}

{{ 'blogs.article.read_more' | t }} →

{% endfor %} {% if paginate.pages > 1 %}
{% include 'pagination-custom' %}
{% endif %}