diff options
| author | eltrac <hi@eltr.ac> | 2026-03-08 14:41:19 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-03-08 14:41:19 +0800 |
| commit | fe0bafba4a126fef9c169bfefa09201a6ea400ca (patch) | |
| tree | 66b77deef5773a56f5f962ed3b65d8ac1330203c /layouts/_partials/section-categories.html | |
| parent | 5ccd892f23ba9cfa7145fec7137a49eb2077a447 (diff) | |
| parent | c09ffa2e5b0db615f4a4614da7d4811616afdf4f (diff) | |
merge branch restructure
Diffstat (limited to 'layouts/_partials/section-categories.html')
| -rw-r--r-- | layouts/_partials/section-categories.html | 20 |
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> |
