Skip to content

Commit 7424401

Browse files
authored
blade directive syntax
1 parent 04cfab6 commit 7424401

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ public function show(Post $post)
229229
This example uses a Blade view that sets global SEO config using the values that are passed to the view.
230230

231231
```html
232-
@seo('title', $page->name)
233-
@seo('description', $page->excerpt)
234-
@seo('flipp', 'content')
232+
@seo(['title' => $page->name])
233+
@seo(['description' => $page->excerpt])
234+
@seo(['flipp' => 'content'])
235235

236236
<h1>{{ $page->title }}</h1>
237237
<p>{{ $page->excerpt }}</p>

0 commit comments

Comments
 (0)