Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
eusonlito committed May 19, 2018
2 parents d01e9d1 + ab83524 commit 4ceeb6b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Eusonlito/LaravelMeta/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,13 @@ public function title($title = null)
return $this->title;
}

return $this->title = $this->plain($title);
$title = $this->plain($title);

if (empty($this->metas['title'])) {
$this->metas['title'] = $title;
}

return $this->title = $title;
}

/**
Expand Down

0 comments on commit 4ceeb6b

Please sign in to comment.