diff options
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> |
