diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-16 16:21:15 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-16 16:21:15 +0200 |
| commit | e265bc210a4ba48bc574441bb02677b34a7d6f1c (patch) | |
| tree | 6962d9ad73034630608b10ec6bd04adcab129e0e /themes | |
| parent | eacc38e5f021d2bd60ae38c0cb03fbf9c61a1e07 (diff) | |
| download | danixxyz-e265bc210a4ba48bc574441bb02677b34a7d6f1c.tar.gz danixxyz-e265bc210a4ba48bc574441bb02677b34a7d6f1c.zip | |
fix: breadcrumb navigation now renders in article pages
The breadcrumb partial was being called but producing no output. Investigation
revealed the issue: Hugo was using layouts/_default/single.html instead of
layouts/articles/single.html. Added the breadcrumb partial call to the actual
layout being used (_default/single.html), fixing the missing navigation.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/danix-xyz-hacker/layouts/_default/single.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/_default/single.html b/themes/danix-xyz-hacker/layouts/_default/single.html index 5707968..0d3c6fa 100644 --- a/themes/danix-xyz-hacker/layouts/_default/single.html +++ b/themes/danix-xyz-hacker/layouts/_default/single.html @@ -3,6 +3,9 @@ <div class="grid md:grid-cols-3 gap-8 max-w-7xl mx-auto content-grid"> <!-- Article section --> <div class="md:col-span-2"> + <!-- Breadcrumb --> + {{ partial "breadcrumb.html" . }} + <!-- Article header --> {{ partial "article-header.html" . }} |
