Breadcrumbs
The breadcrumbs are a list of links displayed near to the top of the content to help the user determine where they are on the site and to help them navigate.
Implementation
Breadcrumbs are added in the top
section of the page. There are three configuration options:
"href"
: the url of the link. If left empty, the item will be displayed in text and not as a hyperlink."title"
: the text of the link that is displayed"acronym"
: if your title has an acronym, you can use this property to provide the full text of the title. It will be displayed when the user hovers over the link.
Note: CDTS inserts a link to the home page of the Canada.ca website
defTop.outerHTML = wet.builder.top({ ... "breadcrumbs": [{ "title": "Home", "href": "https://www.canada.ca/en/index.html" },{ "title": "CDTS", "acronym": "Centrally Deployed Templates Solution", "href": "https://www.canada.ca/en/index.html" }] ... });