diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-06 11:02:53 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-06 11:02:53 +0800 |
| commit | 33a1f169b920a846d300f1857acdfe2d164775bc (patch) | |
| tree | cd2ff9d7c36d3132d6ba0ec1e11e549cb8f0ccd3 | |
| parent | 8db98661dc41df6afd02b0448c3589dad7e816d7 (diff) | |
fix: breadcrumb title not showing in post list
| -rw-r--r-- | layouts/partials/components/breadcrumbs.html | 2 |
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> |
