From c8894ffe480a61e9c9ee6e31871d23e6d8f2fd2b Mon Sep 17 00:00:00 2001 From: Isaac Lins Date: Wed, 5 Aug 2026 09:28:43 +0200 Subject: [PATCH] fix: breadcrumbs show the page title, not the humanized filename The last crumb was built from the filename run through humanize, which title-cased it and dropped punctuation. pi-terminal-kit rendered as "Pi terminal kit" and blog posts lost their apostrophes. LinkTitle uses the title the page declares, so the crumb now matches the heading on the page. Also removes two unused variables at the top of the partial. --- layouts/partials/breadcrumbs.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 69213b1..a9199db 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -1,6 +1,3 @@ -{{ $url := replace .Permalink (printf "%s" .Site.BaseURL) "" }} -{{ $urlParts := split $url "/" }} -