Skip to content

Commit caeb27b

Browse files
committed
Update title-meta.md
1 parent 4edb47a commit caeb27b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

title-meta.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ The `keywords` method accepts an array as well:
2929
SEO::keywords(['laravel', 'splade', 'course']);
3030
```
3131

32+
As of v1.2.11, you may also use Blade Directives to set the values within a template:
33+
34+
```blade
35+
<x-layout>
36+
@seoTitle('Laravel Splade Course')
37+
@seoDescription('Become the Splade expert!')
38+
@seoKeywords('laravel, splade, course')
39+
</x-layout>
40+
```
41+
3242
You may publish and customize the `splade-seo.php` configuration file to set default values. In previous versions of Splade, the SEO configuration was part of the `splade.php` configuration file. As of v0.6.9, there is a separate file for the SEO configuration.
3343

3444
```bash

0 commit comments

Comments
 (0)