summaryrefslogtreecommitdiff
path: root/layouts/_partials/components/category-pill.html
blob: 1649c6f1d1fbe3d0a022c2e699ae6cc7533e9403 (plain)
1
2
3
4
5
6
7
8
{{ with .GetTerms "categories" }}
  {{ with index . 0 }}
    <a class="post-category" href="{{ .RelPermalink }}">
      <span class="grayscale-100">{{ .Params.icon }}</span>
      <span>{{ .LinkTitle }}</span>
    </a>
  {{ end }}
{{ end }}