Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter authored Feb 26, 2017
1 parent e7c1ed9 commit 5867c9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and to the `<head>` section of your pages:

Obviously, you should replace 'example.org' with the domain name of your website.

This extension adds a 'route' for `/sitemap.xml` and `/sitemap` by default, but it
has lower priority than user defined routes.
If you use the `pagebinding` in `routing.yml` (or anything similar like `/{slug}` ),
you need to add the following _above_ that route:

Expand All @@ -31,4 +33,5 @@ sitemap:
defaults: { _controller: 'Bolt\Extension\Bolt\Sitemap\Extension::sitemap' }
```

Note, if you have a ContentType with the property `searchable: false`, that content type will be ignored.
Note, if you have a ContentType with the property `searchable: false`, that content
type will be ignored.

0 comments on commit 5867c9a

Please sign in to comment.