summaryrefslogtreecommitdiff
path: root/layouts/_partials
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-03-08 12:19:52 +0800
committereltrac <hi@eltr.ac>2026-03-08 12:19:52 +0800
commit3d689d9dcd7aa9e727e37c899e9bd41a30bb710a (patch)
treef2560a6ec78715dc6661e8600c04c925ea83fe31 /layouts/_partials
parentf8bceee60220ee6e74c56328255c491372158147 (diff)
remove(partial): no longer show unique section categories
Diffstat (limited to 'layouts/_partials')
-rw-r--r--layouts/_partials/section-categories.html20
1 files changed, 0 insertions, 20 deletions
diff --git a/layouts/_partials/section-categories.html b/layouts/_partials/section-categories.html
deleted file mode 100644
index 40e6600e..00000000
--- a/layouts/_partials/section-categories.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{{ $categories := slice }}
-{{ range . }}
- {{ with .Params.categories }}
- {{ if not (in $categories .) }}
- {{ $categories = $categories | append . }}
- {{ end }}
- {{ end }}
-{{ end }}
-
-<div class="flex gap-2 flex-wrap">
- {{ range $categories }}
- <a href="/categories/{{ . | urlize }}/"
- class="text-size-lg px-3 py-2
- transition-colors duration-300 rounded-xl hover:no-underline
- bg-slate-2/50 dark:bg-neutral-800/50
- hover:bg-[var(--text-color)] hover:text-[var(--block-background-color)]">
- {{ . }}
- </a>
- {{ end }}
-</div>