From 99600966425be3f28074a18d30f23a82d0707e9a Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 11 Nov 2023 14:45:43 -0800 Subject: [PATCH] Add breadcrumbs to custom secondary-header.html partial template The breadcrumbs feature of the hugo-PaperMod theme is implemented in a partial template. That partial is referenced in the page templates provided by the theme. Those page templates are targeted to a blog type of website and so are worthless for this project so this project uses custom page templates exclusively. It is required to include the breadcrumbs code in the custom templates in order for the site to have breadcrumbs. This is done as part of a custom "secondary-header.html" partial template, which is referenced by all the project's individual page templates. --- site/layouts/partials/secondary-header.html | 1 + 1 file changed, 1 insertion(+) diff --git a/site/layouts/partials/secondary-header.html b/site/layouts/partials/secondary-header.html index f848162..adf5a3b 100644 --- a/site/layouts/partials/secondary-header.html +++ b/site/layouts/partials/secondary-header.html @@ -1,4 +1,5 @@
+ {{- partial "breadcrumbs.html" . }}

{{- .Title }}