mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 09:54:03 +00:00
Merge branch 'master' of github.com:archtechx/laravel-seo
This commit is contained in:
commit
6df030c28d
1 changed files with 9 additions and 0 deletions
|
|
@ -226,6 +226,15 @@ This package is completely flexible, and can be customized either by having its
|
||||||
|
|
||||||
You can publish the Blade views by running `php artisan vendor:publish --tag=seo-views`.
|
You can publish the Blade views by running `php artisan vendor:publish --tag=seo-views`.
|
||||||
|
|
||||||
|
### Extra tags
|
||||||
|
|
||||||
|
To add more tags to the head, you can use the `tag()` and `rawTag()` methods:
|
||||||
|
|
||||||
|
```php
|
||||||
|
seo()->tag('fb:image', asset('foo'));
|
||||||
|
seo()->rawTag('<meta property="fb:url" content="bar" />');
|
||||||
|
```
|
||||||
|
|
||||||
### Extensions
|
### Extensions
|
||||||
|
|
||||||
To use a custom extension, create a Blade *component* with the desired meta tags. The component should read data using `{{ seo()->get('foo') }}` or `@seo('foo')`.
|
To use a custom extension, create a Blade *component* with the desired meta tags. The component should read data using `{{ seo()->get('foo') }}` or `@seo('foo')`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue