summaryrefslogtreecommitdiff
path: root/layouts/_partials
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-14 19:40:18 +0800
committerEltrac <hi@guhub.cn>2025-07-14 19:40:18 +0800
commit2698f41d495ca24dc8697d8c64fe066d332d9a4e (patch)
treebd26e8b89d13f20f7250b5fa6748ed2a5638fe33 /layouts/_partials
parent60adda60f9c8a99adea4daf28c105f6cfe5f6b05 (diff)
remove: breadcrumbs
Diffstat (limited to 'layouts/_partials')
-rw-r--r--layouts/_partials/components/breadcrumbs.html35
1 files changed, 0 insertions, 35 deletions
diff --git a/layouts/_partials/components/breadcrumbs.html b/layouts/_partials/components/breadcrumbs.html
deleted file mode 100644
index 99a49708..00000000
--- a/layouts/_partials/components/breadcrumbs.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<nav aria-label="breadcrumb">
- <ol class="breadcrumb">
- {{ $currentPage := . }} {{ with $currentPage.Ancestors }} {{ range
- .Reverse }}
- <li class="breadcrumb-item">
- <a href="{{ .RelPermalink }}">{{ .Title }}</a>
- </li>
- {{ end }} {{ end }} {{ if or (ne $currentPage.Type "posts") (eq
- $currentPage.Kind "section") }}
- <li class="breadcrumb-item active" aria-current="page">
- {{ $currentPage.Title }}
- </li>
- {{ end }}
- </ol>
-</nav>
-
-<style>
- ol.breadcrumb {
- list-style-type: none;
- display: flex;
- padding-inline-start: 0;
- font-family: var(--mono-font-family);
-
- li {
- &:not(:last-child) a {
- &:hover { text-decoration: none; }
- &::after {
- content: "/";
- color: var(--secondary-text-color);
- margin: 0 0.5rem;
- }
- }
- }
- }
-</style>