Dawn theme, I am displaying further reading on my blog page by linking 'article-card.liquid" to show more blog posts to read.
I don’t want to recommend the same blog to the the current one. My idea is to link them by title, since the title of the page is {{ article.title }}, so i am trying to code something like {% if articles == '{{ article.title }} %} then don’t display.
Here is my code trying to achieve this:
{%- paginate blog.articles by 6 -%}
{%- for article in blog.articles -%}
{% if articles == '{{ article.title }} %}
*action*
{% else %}
{%- render 'article-sidecard', article: article -%}
{% endif %}
{%- endfor -%}
{%- endpaginate -%}
Any idea what else i need to add or edit to make this work.
Thanks.