mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-17 03:54:03 +00:00
Add support keywords meta tag (#29)
* Add support 'keywords' meta tag * update * update
This commit is contained in:
parent
3a17c8ee11
commit
567a7b09ef
6 changed files with 12 additions and 7 deletions
|
|
@ -17,7 +17,7 @@ class SEOServiceProvider extends ServiceProvider
|
|||
|
||||
public function boot(): void
|
||||
{
|
||||
$this->loadViewsFrom(__DIR__ . '/../assets/views', 'seo');
|
||||
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'seo');
|
||||
|
||||
if ($this->app->runningInConsole()) {
|
||||
$this->commands([
|
||||
|
|
@ -26,7 +26,7 @@ class SEOServiceProvider extends ServiceProvider
|
|||
}
|
||||
|
||||
$this->publishes([
|
||||
__DIR__ . '/../assets/views' => resource_path('views/vendor/seo'),
|
||||
__DIR__ . '/../resources/views' => resource_path('views/vendor/seo'),
|
||||
], 'seo-views');
|
||||
|
||||
Blade::directive('seo', function ($expression) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue