diff options
Diffstat (limited to 'wiki')
-rw-r--r-- | wiki/features/other-parameters.md | 14 | ||||
-rw-r--r-- | wiki/setup.md | 5 |
2 files changed, 15 insertions, 4 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/). diff --git a/wiki/setup.md b/wiki/setup.md index db73c80..eb5c13f 100644 --- a/wiki/setup.md +++ b/wiki/setup.md @@ -114,8 +114,9 @@ paginationSize = 100 listSummaries = true listDateFormat = '2 Jan 2006' -# Breadcrumbs -breadcrumbs = true +# Breadcrumbs (Uncomment to disable) +# [params.breadcrumbs] +# enabled = false # Social icons [[params.social]] |