mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 18:04:03 +00:00
Add twitter:creator meta tag (#21)
This commit is contained in:
parent
754b3936d0
commit
9ce6843879
4 changed files with 5 additions and 2 deletions
|
|
@ -15,6 +15,7 @@ use Illuminate\Support\Str;
|
|||
* @method $this image(string $url = null, ...$args) Set the cover image.
|
||||
* @method $this type(string $type = null, ...$args) Set the page type.
|
||||
* @method $this twitter(enabled $bool = true, ...$args) Enable the Twitter extension.
|
||||
* @method $this twitterCreator(string $username = null, ...$args) Set the Twitter author.
|
||||
* @method $this twitterSite(string $username = null, ...$args) Set the Twitter author.
|
||||
* @method $this twitterTitle(string $title = null, ...$args) Set the Twitter title.
|
||||
* @method $this twitterDescription(string $description = null, ...$args) Set the Twitter description.
|
||||
|
|
@ -55,7 +56,7 @@ class SEOManager
|
|||
{
|
||||
return collect([
|
||||
'site', 'title', 'image', 'description', 'url', 'type',
|
||||
'twitter.site', 'twitter.title', 'twitter.image', 'twitter.description',
|
||||
'twitter.creator', 'twitter.site', 'twitter.title', 'twitter.image', 'twitter.description',
|
||||
])
|
||||
->merge(array_keys($this->defaults))
|
||||
->merge(array_keys($this->values))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue