mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 05:29:54 +03:00
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 = <true/false>` line in config needs to be changed.
This commit is contained in:
parent
ae0e1ec668
commit
5bbe13fd43
6 changed files with 47 additions and 16 deletions
|
@ -7,3 +7,9 @@ title = 'typo'
|
|||
[module.hugoVersion]
|
||||
extended = false
|
||||
min = "0.116.0"
|
||||
|
||||
# Default config
|
||||
[params.breadcrumbs]
|
||||
enabled = true
|
||||
showCurrentPage = true
|
||||
home = "Home"
|
Loading…
Add table
Add a link
Reference in a new issue