diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ac12ad2..8b63b680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Upgrade to Tailwind v3.0.15 - Inline Javascript moved to external files - Improved JSON-LD structured data +- Breadcrumbs now fallback to section name when `title` is not provided - Minor style and layout improvements ## [1.6.4] - 2022-01-24 diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 38beb2f7..7c304e00 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -11,7 +11,11 @@ {{ .p1.Title }}{{ if .p1.Title }} + {{- .p1.Title -}} + {{ else }} + {{- .p1.Section -}} + {{ end }}/ {{ end }}