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
1 changed files with 1 additions and 1 deletions

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 ""