1
0
Fork 0
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:
Samuel Štancl 2021-05-26 21:18:24 +02:00
commit 713e574790

View file

@ -111,7 +111,7 @@ seo()
### Extra tags ### Extra tags
To add more tags to the head, you can use the `tag()` and `rawTag()` methods: To add more tags to the document head, you can use the `tag()` and `rawTag()` methods:
```php ```php
seo()->tag('fb:image', asset('foo')); seo()->tag('fb:image', asset('foo'));
@ -127,7 +127,7 @@ To enable the `og:url` and canonical URL `link` tags, call:
seo()->withUrl(); seo()->withUrl();
``` ```
This will make the package read from `request()->url()` (= the current URL *without* the query string). This will make the package read from `request()->url()` (the current URL *without* the query string).
If you wish to change the URL, call `seo()->url()`: If you wish to change the URL, call `seo()->url()`: