summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-06 11:02:53 +0800
committerEltrac <hi@guhub.cn>2025-02-06 11:02:53 +0800
commit7afeb7b0ed071b263392cbb18b8c73de6736281f (patch)
tree020e6a3d5153d1971b1825d18c96f3f0869a9bbb
parent3ec7ebbcb97139d8148463fbe1ca8c82e03119b6 (diff)
fix: breadcrumb title not showing in post list
Former-commit-id: 33a1f169b920a846d300f1857acdfe2d164775bc
-rw-r--r--layouts/partials/components/breadcrumbs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/components/breadcrumbs.html b/layouts/partials/components/breadcrumbs.html
index 4f569b1b..357fa502 100644
--- a/layouts/partials/components/breadcrumbs.html
+++ b/layouts/partials/components/breadcrumbs.html
@@ -8,7 +8,7 @@
{{ end }}
{{ end }}
- {{ if ne $currentPage.Type "posts" }}
+ {{ if or (ne $currentPage.Type "posts") (eq $currentPage.Kind "section") }}
<li class="breadcrumb-item active" aria-current="page">{{ $currentPage.Title }}</li>
{{ end }}
</ol>