2015-12-07 23:45:09 +01:00
|
|
|
## Configuring blog posts in SiteTree
|
|
|
|
|
|
|
|
Because your blog is part of the SiteTree, usage is the same as any other page.
|
|
|
|
|
|
|
|
By default, blog posts don't appear in the SiteTree, to avoid clutter. Instead they appear inside your blog as a GridField.
|
|
|
|
|
|
|
|
![](_images/blog-post-management.png)
|
|
|
|
|
|
|
|
If you'd rather display your posts within the SiteTree, you can do so using SilverStripe config.
|
|
|
|
|
|
|
|
In mysite/_config/settings.yml
|
|
|
|
|
|
|
|
```yaml
|
2017-09-20 02:15:19 +02:00
|
|
|
SilverStripe\Blog\Model\BlogPost:
|
2015-12-07 23:45:09 +01:00
|
|
|
show_in_sitetree: true
|
2017-09-20 02:15:19 +02:00
|
|
|
```
|