diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index b1c086ebaf..d9491c7c18 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -18,6 +18,12 @@ This document shows you what's new in the latest release and flags it with one o --- +## 5.27.0.beta (XXXX-XX-XX) {#5270} + +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The breadcrumbs used in the topbar, search results and the taxonomy term lists are now using the pages frontmatter `linktitle` instead of `title` if set. + +--- + ## 5.26.0 (2024-03-18) {#5260} - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} The lazy loading of images is now configurable by using the new `lazy` [image effect](cont/imageeffects). The default value hasn't changed in comparison to older versions, you don't need to change anything. diff --git a/exampleSite/content/cont/i18n/_index.en.md b/exampleSite/content/cont/i18n/_index.en.md index 4a3b1dcbdb..451fdefdc1 100644 --- a/exampleSite/content/cont/i18n/_index.en.md +++ b/exampleSite/content/cont/i18n/_index.en.md @@ -1,4 +1,5 @@ +++ +linktitle = "Multilingual" title = "Multilingual and i18n" weight = 7 +++ diff --git a/exampleSite/content/cont/i18n/_index.pir.md b/exampleSite/content/cont/i18n/_index.pir.md index bc28edb2d8..4f9b5aac60 100644 --- a/exampleSite/content/cont/i18n/_index.pir.md +++ b/exampleSite/content/cont/i18n/_index.pir.md @@ -1,4 +1,5 @@ +++ +linktitle = "Multilingual" title = "Multilingual an' i18n" weight = 7 +++ diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 09e7c730d0..a0dea230cb 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -31,7 +31,7 @@ {{- range $i, $e := $breadcrumbReversed }} {{- $to := $e }} {{- $depth = add $depth 1 }} - {{- $title := $to.Title }} + {{- $title := or $to.Params.menuTitle $to.LinkTitle $to.Title }} {{- if eq $to.Kind "taxonomy" }} {{- $title = default (default $to.Data.Plural (i18n $to.Data.Plural)) $to.Params.Title }} {{- else if eq $to.Kind "term" }}