Skip to content

Commit

Permalink
fix: replace Title with LinkTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Aug 30, 2024
1 parent 2df8d01 commit d9f2985
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/breadcrumb/ancestor.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
{{- with .Params.nav_icon }}
{{- partial "icons/icon" (merge . (dict "color" "" "className" "me-1")) }}
{{- end }}
{{- cond .IsHome (i18n "hb_breadcrumb_home") .Title -}}
{{- cond .IsHome (i18n "hb_breadcrumb_home") .LinkTitle -}}
</a>
</li>
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/breadcrumb/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{- with .Params.nav_icon }}
{{- partial "icons/icon" (merge . (dict "color" "" "className" "me-1")) }}
{{- end }}
{{- .Title -}}
{{- .LinkTitle -}}
</a>
</li>
</ol>
Expand Down

0 comments on commit d9f2985

Please sign in to comment.