Fall back to title for meta description
This commit is contained in:
parent
298010d184
commit
8c3fe1da8b
1 changed files with 1 additions and 1 deletions
|
@ -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 ""
|
||||
|
|
Loading…
Reference in a new issue