Skip to content

Commit cd5cc95

Browse files
stengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 5eb685c commit cd5cc95

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Http/Controllers/PageController.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Illuminate\Support\Facades\Cache;
1212
use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
1313
use Spatie\Image\Image;
14-
use Spatie\MediaLibrary\Conversions\ConversionCollection;
1514
use Spatie\MediaLibrary\MediaCollections\Models\Media;
1615
use Statikbe\FilamentFlexibleContentBlockPages\Facades\FilamentFlexibleContentBlockPages;
1716
use Statikbe\FilamentFlexibleContentBlockPages\Models\Page;
@@ -79,7 +78,7 @@ public function grandchildIndex(Page $grandparent, Page $parent, Page $page)
7978

8079
protected function getSEOTitlePostfix(Page $page): string
8180
{
82-
if($page->isHomePage()) {
81+
if ($page->isHomePage()) {
8382
return '';
8483
}
8584

@@ -127,7 +126,7 @@ protected function getLocalisedUrls(): array
127126
protected function setBasicSEO(Page $page)
128127
{
129128
$title = $page->seo_title ?? $page->title ?? $this->getSettingsTitle();
130-
SEOTools::setTitle($title . $this->getSEOTitlePostfix($page), false);
129+
SEOTools::setTitle($title.$this->getSEOTitlePostfix($page), false);
131130
SEOTools::setDescription(($page->seo_description ?? strip_tags($page->intro)));
132131
SEOTools::opengraph()->setUrl(url()->current());
133132
}

0 commit comments

Comments
 (0)