improve structured SEO data, v39
This commit is contained in:
parent
a498c81e99
commit
a5372e1238
3 changed files with 18 additions and 2 deletions
|
@ -3,7 +3,7 @@ from django.db import models
|
|||
from wagtail.models import Page
|
||||
from wagtail.fields import RichTextField, StreamField
|
||||
from wagtail.admin.panels import FieldPanel, MultiFieldPanel
|
||||
from wagtailseo.models import SeoMixin
|
||||
from wagtailseo.models import SeoMixin, SeoType
|
||||
from .blocks import HomeContentBlock
|
||||
|
||||
|
||||
|
@ -56,3 +56,4 @@ class HomePage(SeoMixin, Page):
|
|||
]
|
||||
|
||||
promote_panels = SeoMixin.seo_panels
|
||||
seo_content_type = SeoType.WEBSITE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue