mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
16 lines
460 B
Markdown
16 lines
460 B
Markdown
|
## 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.
|
||
|
|
||
|

|
||
|
|
||
|
If you'd rather display your posts within the SiteTree, you can do so using SilverStripe config.
|
||
|
|
||
|
In mysite/_config/settings.yml
|
||
|
|
||
|
```yaml
|
||
|
BlogPost:
|
||
|
show_in_sitetree: true
|
||
|
```
|