Skip to content

Commit

Permalink
Merge pull request #27 from lpostiglione/lpostiglione-patch-1
Browse files Browse the repository at this point in the history
Possible Problems without blog installed
  • Loading branch information
Ramon Lapenta authored May 5, 2022
2 parents b236b7e + bfb3ca8 commit a7bf431
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
6 changes: 0 additions & 6 deletions _config/extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,3 @@ Page:
SilverStripe\SiteConfig\SiteConfig:
extensions:
- CyberDuck\SEO\Model\Extension\SeoSiteConfigExtension
SilverStripe\Blog\Model\Blog:
extensions:
- CyberDuck\SEO\Model\Extension\SeoBlogExtension
SilverStripe\Blog\Model\BlogPost:
extensions:
- CyberDuck\SEO\Model\Extension\SeoBlogPostExtension
13 changes: 12 additions & 1 deletion docs/blog-configuration/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# Blog Configuration

Add the following lines to a .yml config file of your choice:
~~~~
SilverStripe\Blog\Model\Blog:
extensions:
- CyberDuck\SEO\Model\Extension\SeoBlogExtension
SilverStripe\Blog\Model\BlogPost:
extensions:
- CyberDuck\SEO\Model\Extension\SeoBlogPostExtension
~~~~

## Default Blog Post Meta

After installation the Blog Page type will have a new tab called Post SEO in the CMS with the following configuration.

- Default Meta title - Use page Title when no Meta title set for Blog Post
- Default Meta description - Use page summary when no Meta description set for Blog Post
- Use featured image as social image - Uses the featured image in social sharing Meta
- Use featured image as social image - Uses the featured image in social sharing Meta

0 comments on commit a7bf431

Please sign in to comment.