Help With Bringing In Special Tags To Home Page Section

Hello Shopify People,

I am working on a custom theme, and the previous theme designers created these special tags , they are called “nav-pills”, and these ones are associated with their recipes.

We created a section on the Home page to automatically bring in the recipes, and we would like these to render automatically as well, but I not having any luck in doing this.

You can see them here on the very top: https://belcampo.com/blogs/recipe

This is the code from the recipe blog page for these items:

{{ section.settings.page_title }}

All

And this is what is currently bringing in the recipes to the Home page section:

{%- assign blog = blogs[section.settings.blog] -%}

{%- if blog.articles_count > 0 -%}

    {% for tag in article.tags %} {% endfor %} {%- for article in blog.articles limit: section.settings.post_limit -%}
  • {% render 'blog-card-grid', show_tags: true, article: article %}
  • {%- endfor -%}
{%- endif -%}

{% for tag in blog.all_tags %}

{% if tag contains ‘prod-handle-’ or tag contains ‘__’ %}
{% continue %}
{% endif %}

{{ tag }} {% endfor %}

As I am in process of learning more about Shopify liquid code, I am reaching out for any help for this issue as it’s just a bit above my knowledge right now.

Thanks in advance,

Todd