From 74244018e98766f47b703f2823741a804855eed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 24 May 2021 18:02:58 +0200 Subject: [PATCH] blade directive syntax --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a642d54..ae985b4 100644 --- a/README.md +++ b/README.md @@ -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'])

{{ $page->title }}

{{ $page->excerpt }}