1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 01:44:03 +00:00

Add previewify prefix (#24)

* add required previewify prefix

* Fix code style (php-cs-fixer)

* only add prefix when not already available

* Fix code style (php-cs-fixer)

Co-authored-by: PHP CS Fixer <phpcsfixer@example.com>
This commit is contained in:
Tobias Petry 2022-07-05 20:19:46 +02:00 committed by GitHub
parent cf8ec8d3ae
commit a737879baf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 7 deletions

View file

@ -253,6 +253,9 @@ The `previewify()` method also returns a signed URL to the image, which lets you
<img alt="@seo('title')" src="@seo('previewify', 'blog')">
```
> **Note**
> The `previewify:` prefix will be automatically prepended to all provided data keys.
## Examples
### Service Provider