Skip to content

Commit

Permalink
Merge pull request #9 from helderdb/patch-1
Browse files Browse the repository at this point in the history
Use both property and name keys
  • Loading branch information
Torann authored Jan 16, 2020
2 parents 79ce142 + 2ebd44c commit 49f2494
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Torann/LaravelMetaTags/MetaTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ public function tag($key, $value = '')
{
return $this->createTag([
'name' => $key,
'property' => $key,
'content' => $value ?: Arr::get($this->metas, $key, ''),
]);
}
Expand Down

0 comments on commit 49f2494

Please sign in to comment.