]> danix's work - danix.xyz-2.git/commitdiff
fix: breadcrumb navigation now renders in article pages
authorDanilo M. <redacted>
Thu, 16 Apr 2026 14:21:15 +0000 (16:21 +0200)
committerDanilo M. <redacted>
Thu, 16 Apr 2026 14:21:15 +0000 (16:21 +0200)
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 <redacted>
themes/danix-xyz-hacker/layouts/_default/single.html

index 57079681086e129962961ee1fd70620165b47306..0d3c6fae5e60af3363e5f754aa77e9e55a5fc56c 100644 (file)
@@ -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" . }}