diff --git a/README.md b/README.md index a642d54..ae985b4 100644 --- a/README.md +++ b/README.md @@ -229,9 +229,9 @@ public function show(Post $post) This example uses a Blade view that sets global SEO config using the values that are passed to the view. ```html -@seo('title', $page->name) -@seo('description', $page->excerpt) -@seo('flipp', 'content') +@seo(['title' => $page->name]) +@seo(['description' => $page->excerpt]) +@seo(['flipp' => 'content'])

{{ $page->title }}

{{ $page->excerpt }}