From 6ac2b5d514c5109eb3ae84fd41c4aa0de7e949ae Mon Sep 17 00:00:00 2001 From: Pierre Mavro Date: Mon, 28 Apr 2025 00:44:39 +0200 Subject: [PATCH] feat: add custom home breadcrum link config --- exampleSite/hugo.toml | 3 ++- layouts/partials/docs/breadcrumbs.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml index 85e39f0a..7b76f1a9 100644 --- a/exampleSite/hugo.toml +++ b/exampleSite/hugo.toml @@ -90,6 +90,7 @@ defaultContentLanguage = 'en' sidebarIcons = true # enable sidebar icons? default false breadcrumbs = true # default is true + breadcrumbsHomeLink = "/docs/" backToTop = true # enable back-to-top button? default true # ToC @@ -173,4 +174,4 @@ defaultContentLanguage = 'en' # name = "Community" # url = "https://github.com/colinwilson/lotusdocs/discussions" # identifier = "community" -# weight = 30 \ No newline at end of file +# weight = 30 diff --git a/layouts/partials/docs/breadcrumbs.html b/layouts/partials/docs/breadcrumbs.html index ad02f0e0..fe27a058 100644 --- a/layouts/partials/docs/breadcrumbs.html +++ b/layouts/partials/docs/breadcrumbs.html @@ -7,7 +7,7 @@ {{ end }} - \ No newline at end of file +