Fall back to title for meta description

This commit is contained in:
Jake Howard 2023-10-06 22:03:10 +01:00
parent 298010d184
commit 8c3fe1da8b
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -205,7 +205,7 @@ class BaseContentPage(BasePage, MetadataMixin):
return self.html_title
def get_meta_description(self) -> str:
return self.summary
return self.summary or self.get_meta_title()
def get_object_title(self) -> str:
return ""