mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
blade directive syntax
This commit is contained in:
parent
04cfab679c
commit
74244018e9
1 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue