mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-16 03:24:03 +00:00
fix: previewify needs prefix to work correctly
This commit is contained in:
parent
cf8ec8d3ae
commit
987280a9ea
3 changed files with 11 additions and 11 deletions
|
|
@ -235,7 +235,7 @@ seo()->previewify('page', 83);
|
|||
|
||||
After that, you can use the templates by calling `seo()->previewify()` like this:
|
||||
```php
|
||||
seo()->previewify('blog', ['title' => 'Foo', 'content' => 'bar'])`
|
||||
seo()->previewify('blog', ['previewify:title' => 'Foo', 'previewify:content' => 'bar'])`
|
||||
```
|
||||
|
||||
The call will set the generated image as the OpenGraph and Twitter card images. The generated URLs are signed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue