We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c394193 commit 7f17680Copy full SHA for 7f17680
src/Http/Controllers/AbstractSeoPageController.php
@@ -2,6 +2,7 @@
2
3
namespace Statikbe\FilamentFlexibleContentBlockPages\Http\Controllers;
4
5
+use Artesaos\SEOTools\Facades\SEOMeta;
6
use Artesaos\SEOTools\Facades\SEOTools;
7
use Illuminate\Routing\Controller;
8
use Illuminate\Support\Facades\Cache;
@@ -97,6 +98,10 @@ protected function setBasicSEO(Page $page)
97
98
SEOTools::setTitle($title.$this->getSEOTitlePostfix($page), false);
99
SEOTools::setDescription(($page->seo_description ?? strip_tags($page->intro)));
100
SEOTools::opengraph()->setUrl(url()->current());
101
+
102
+ if($page->seo_keywords){
103
+ SEOMeta::setKeywords($page->seo_keywords);
104
+ }
105
}
106
107
protected function getValidTitle(?string $title): ?string
0 commit comments