mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
Merge branch 'master' of github.com:archtechx/laravel-seo
This commit is contained in:
commit
fdd7064a00
2 changed files with 4 additions and 4 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>
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"ArchTech\\SEO\\PackageServiceProvider"
|
||||
"ArchTech\\SEO\\SEOServiceProvider"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue