mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 09:54:03 +00:00
better writing
This commit is contained in:
parent
0ebc50cad9
commit
bd4a67a1ac
1 changed files with 2 additions and 2 deletions
|
|
@ -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'));
|
||||||
|
|
@ -126,7 +126,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()`:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue