Merge pull request #9280 from open-sausages/pulls/4/doc-breadcrumb

DOC Update breadcrumb template in theme rather than app.
This commit is contained in:
Steve Boyd 2020-09-10 09:48:23 +12:00 committed by GitHub
commit 589631df00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -370,9 +370,9 @@ of the `silverstripe/cms` module.
``` ```
[info] [info]
To customise the markup that the `$Breadcrumbs` generates, copy `templates/BreadcrumbsTemplate.ss` To customise the markup that `$Breadcrumbs` generates, copy `templates/BreadcrumbsTemplate.ss`
from the `silverstripe/cms` module to from the `silverstripe/cms` module to your theme (e.g.: `themes/you-theme/templates/BreadcrumbsTemplate.ss`).
`app/templates/BreadcrumbsTemplate.ss`, modify the newly copied template and flush your SilverStripe cache. Modify the newly copied template and flush your Silverstripe CMS cache.
[/info] [/info]
## Forms ## Forms