Hello,
I am working on the blog template and created a for loop where the articles are rendered.
If I look at the “all” blog, the first article is rendered properly, but all other articles in the loop are rendered with surround elements causing the style to break. These elements are not coming from the theme.
If I go to a tagged page (blogs/all/tagged/random) the page renders properly and there is no elements
Here is the blog template being rendered:
{%- paginate blog.articles by 6 -%}
# {{ blog.title | escape }}
{%- for article in blog.articles -%}
{% assign odd_index = forloop.index | modulo: 3 %}
{% render 'article-card-new',
article: article,
show_image: section.settings.show_image,
show_date: section.settings.show_date,
show_author: section.settings.show_author,
show_excerpt: true,
odd_index: odd_index,
forloop: forloop
%}
{%- endfor -%}
{%- if paginate.pages > 1 -%}
{%- render 'pagination', paginate: paginate -%}
{%- endif -%}
{%- endpaginate -%}
I’ve never come across this issue, and even loading the same page in Dawn theme loads fine, both all page and tagged page