{% assign uniq_lps = '' %}

<div class="np-learning-paths-resources">
  {% if items.any? %}
    {% for learning_path in items %}
        {% for category in learning_path.categories %}
            {% if category.name == 'Category Advisors' %}
                {% unless uniq_lps contains learning_path.name %}
                    {% include "cards_learning_path" with learning_path %}
                    {% assign uniq_lps = uniq_lps |  append: learning_path.name %}
                {% endunless %}
            {% endif %}
        {% endfor %}
    {% endfor %}
  {% else %}
    <div class="np-learning-paths-resources-container">
      <div class="np-zero-state-text">
        {% t .empty %}
      </div>
      <img class="np-zero-state-learning-paths" alt="{% t .empty %}" />
    </div>
  {% endif %}
</div>