diff options
author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2025-03-14 21:06:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-14 21:06:32 +0100 |
commit | 871bb0c8f9c3915e8b1aed1363eaed91560e69fb (patch) | |
tree | 1e63ad8e15d97fb12149ff7fef1c0c9a776a5ce7 /wiki/features | |
parent | 46999d3c4872fa9072bdde3b035cc18a7f08a76d (diff) | |
parent | c7188632b728bff9caf3bb0b9746e662f2eddee1 (diff) |
Merge pull request #95 from runofthemillgeek/feat/breadcrumbs-customization
Add breadcrumbs config to hide current page and change home text
Diffstat (limited to 'wiki/features')
-rw-r--r-- | wiki/features/other-parameters.md | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/wiki/features/other-parameters.md b/wiki/features/other-parameters.md index 136698e..a6e370d 100644 --- a/wiki/features/other-parameters.md +++ b/wiki/features/other-parameters.md @@ -25,11 +25,21 @@ description = "Your description" Show breadcrumbs on pages. +Example: + ```toml -[params] -breadcrumbs = true +[params.breadcrumbs] +enabled = true +showCurrentPage = true +home = "~" ``` +Set `enabled` to `false` if you want to hide breadcrumbs. By default, breadcrumbs are shown. + +Set `showCurrentPage` to `false` to hide the last crumb, i.e, the current page. + +`home` when set with a non-empty string, uses the latter as the first crumb instead of the string "Home". + ## Comments Enable comments on your posts using [Giscus](https://giscus.app/). |