Skip to content

Commit

Permalink
blade directive syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl authored May 24, 2021
1 parent 04cfab6 commit 7424401
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

<h1>{{ $page->title }}</h1>
<p>{{ $page->excerpt }}</p>
Expand Down

0 comments on commit 7424401

Please sign in to comment.