{{- /*
  List of tag "chips" as links
  Context: page.Pages
  */
-}}
{{- range . -}}
  {{- if eq .File nil }}
    {{- errorf "[tags] Undefined tag: '%s' in %s" (urlize (strings.ToLower .Title)) page.File.Filename }}
  {{- end }}
  <a class="chip" href="{{ .Permalink }}">
    <span class="icon-svg icon-sm pb-0.5">
      {{ partialCached "icon" "tag" "tag" }}
    </span>
    <span>{{ .LinkTitle }}</span>
  </a>
{{- end -}}
