1
0
Fork 0
mirror of https://github.com/archtechx/laravel-seo.git synced 2025-12-12 09:54:03 +00:00

Merge branch 'master' of github.com:archtechx/laravel-seo

This commit is contained in:
Samuel Štancl 2021-05-24 18:24:14 +02:00
commit fdd7064a00
2 changed files with 4 additions and 4 deletions

View file

@ -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. This example uses a Blade view that sets global SEO config using the values that are passed to the view.
```html ```html
@seo('title', $page->name) @seo(['title' => $page->name])
@seo('description', $page->excerpt) @seo(['description' => $page->excerpt])
@seo('flipp', 'content') @seo(['flipp' => 'content'])
<h1>{{ $page->title }}</h1> <h1>{{ $page->title }}</h1>
<p>{{ $page->excerpt }}</p> <p>{{ $page->excerpt }}</p>

View file

@ -36,7 +36,7 @@
"extra": { "extra": {
"laravel": { "laravel": {
"providers": [ "providers": [
"ArchTech\\SEO\\PackageServiceProvider" "ArchTech\\SEO\\SEOServiceProvider"
] ]
} }
} }