summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-24 16:38:31 +0800
committerEltrac <hi@guhub.cn>2025-07-24 16:38:31 +0800
commit6919c72d9e20a41575fecf1828d414fd02519ceb (patch)
tree80979308c5162bc345fc0554ce7976af1328028a
parent7745efb6ec4ecc98b45726367a627fb51773a625 (diff)
feat: grayscale category pill icon
-rw-r--r--layouts/_partials/components/category-pill.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/components/category-pill.html b/layouts/_partials/components/category-pill.html
index aeb25747..1649c6f1 100644
--- a/layouts/_partials/components/category-pill.html
+++ b/layouts/_partials/components/category-pill.html
@@ -1,7 +1,7 @@
{{ with .GetTerms "categories" }}
{{ with index . 0 }}
<a class="post-category" href="{{ .RelPermalink }}">
- {{ .Params.icon }}
+ <span class="grayscale-100">{{ .Params.icon }}</span>
<span>{{ .LinkTitle }}</span>
</a>
{{ end }}