We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea36ca6 commit 493af25Copy full SHA for 493af25
layouts/partials/hb/modules/breadcrumb/index.html
@@ -2,7 +2,11 @@
2
<div class="container-fluid px-0 mb-4">
3
<nav aria-label="breadcrumb">
4
<ol class="hb-breadcrumb breadcrumb">
5
- {{- partialCached "hb/modules/breadcrumb/ancestors" .Ancestors .Ancestors }}
+ {{- if .IsPage }}
6
+ {{ partial "hb/modules/breadcrumb/ancestors" .Ancestors }}
7
+ {{- else }}
8
+ {{ partialCached "hb/modules/breadcrumb/ancestors" .Ancestors .CurrentSection }}
9
+ {{- end }}
10
<li class="breadcrumb-item active" aria-current="page">
11
<a href="{{ .RelPermalink }}" title="{{ .Title }}">
12
{{- with .Params.nav_icon }}
0 commit comments