1
0
Fork 0
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:
tpetry 2022-06-24 15:46:58 +02:00
parent cf8ec8d3ae
commit 987280a9ea
3 changed files with 11 additions and 11 deletions

View file

@ -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.