{% import '_types/blog/_card/tag.html' as dotag %}
{# --- TAG LIST STARTS HERE --- #}
      {% if post.tags and post.tags|length %}
          {% for t in post.tags %}
            {% for tag in tags if tag.slug==t.slug %}
              <li>
                <a
                  class="flex items-center gap-1"
                  href="{{ { 'clear_filters': True, 'add_tag': tag.slug }|qs|host}}"
                >
                  {{dotag.tag(tag)}}
                </a>
              </li>
            {% endfor %}
          {% endfor %}
      {% endif %}
    {# --- TAG LIST ENDS HERE --- #}