From c7188632b728bff9caf3bb0b9746e662f2eddee1 Mon Sep 17 00:00:00 2001 From: Sangeeth Sudheer Date: Fri, 7 Mar 2025 10:19:49 +0530 Subject: Add breadcrumbs config to hide current page and change home text Changes `breadcrumbs` config into an object to add customizations such as hiding current page and changing the text of the home crumb. By default, Typo will now show breadcrumbs. If breadcrumbs are enabled, the current default of showing the current page crumb is preserved. BREAKING CHANGE: `breadcrumbs` is now an object so existing `breadcrumbs = ` line in config needs to be changed. --- hugo.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hugo.toml') diff --git a/hugo.toml b/hugo.toml index 709ba78..cfc1669 100644 --- a/hugo.toml +++ b/hugo.toml @@ -7,3 +7,9 @@ title = 'typo' [module.hugoVersion] extended = false min = "0.116.0" + +# Default config +[params.breadcrumbs] +enabled = true +showCurrentPage = true +home = "Home" \ No newline at end of file -- cgit v1.2.3