Open delisma opened 1 year ago
I wonder the breadcrumbs should be here. Can you have part of the breadcrumb (About Canada.ca) in the config and the rest in the in the front matter?
Also, If I add a layout to the front matter, will it override the default?
I wonder the breadcrumbs should be here. Can you have part of the breadcrumb (About Canada.ca) in the config and the rest in the in the front matter?
breadcrumbs
An array of a title and a link. Set by default to http://Canada.ca. for the first breadcrumb. Can be overridden (except the default first link) in that format:
breadcrumbs:
- title: [first page title]
link: [first absolute url of page]
- title: [second page title]
link: [second absolute url of page]
- ...
Using relative url is not recommended because it requires that your Jekyll settings account all possible environment where the site could be published. An alternative link implementation is actively researched at the moment to allow relative urls.
Also, If I add a layout to the front matter, will it override the default?
Yes. Isn't that beautiful?
@prycrane Let's move some defaults into the _config.yml. Also the
lang
proprety has been changed tolanguage
.https://github.com/canada-ca/design-system/blob/b20994e3477d350afc1182e1f99ba04632e38dba/_config.yml#L17-L22