{{- if .Params.tags }}
<div class="flex flex-wrap gap-2 my-2 text-xs">
  {{- range .Params.tags }}
  <a href="{{ "tags/" | relURL }}{{ . | urlize }}"
    class="px-3 py-1 bg-green-100 hover:bg-green-300 rounded no-underline">
    {{ . }}
  </a>
  {{- end }}
</div>
{{- end }}