{% macro tags(tagList) %}
{% if tagList %}
<div class="mt-4">
  {% for tag in tagList %}
      {% if tag.externalDocs() %}
        <a href="{{tag.externalDocs().url()}}" target="_blank" class="border text-blue-light font-normal text-sm rounded lowercase mr-2 px-2 py-1" title="{{tag.description()}}">{{tag.name()}}</a>
      {% else %}
        <span class="border font-normal text-sm no-underline text-blue-light rounded lowercase mr-2 px-2 py-1" title="{{tag.description()}}">{{tag.name()}}</span>
      {% endif %}
  {% endfor %}
</div>
{% endif %}

{% endmacro %}
