summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_partials/section-categories.html20
-rw-r--r--layouts/article/section.html2
2 files changed, 0 insertions, 22 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>
diff --git a/layouts/article/section.html b/layouts/article/section.html
index 5b5cb33a..b4ccd023 100644
--- a/layouts/article/section.html
+++ b/layouts/article/section.html
@@ -9,8 +9,6 @@
<div class="posts-list pagefind-exclude">
<div class="markdown-body">{{ .Content }}</div>
- {{ partial "section-categories" $pages }}
-
<!-- Post Archive List -->
{{ $remainingMonthsToOpen := 3 }}
{{ range $pages.GroupByDate "2006" -}}