diff --git a/src/Quintype/Seo/Section.php b/src/Quintype/Seo/Section.php index 0642c1e..3f08656 100644 --- a/src/Quintype/Seo/Section.php +++ b/src/Quintype/Seo/Section.php @@ -33,7 +33,11 @@ function tags() { protected function getPageTitle(){ if(isset($this->seoMetadata['page-title'])){ - return $this->seoMetadata['page-title']; + if($this->seoMetadata['page-title']==''){ + return $this->section . " - " . $this->config['title']; + }else{ + return $this->seoMetadata['page-title']; + } } else { return $this->section . " - " . $this->config['title']; }