From 315ddd0deded1df8e151cf0e1eccc98c54b213ff Mon Sep 17 00:00:00 2001 From: Charles Teh Date: Wed, 29 Nov 2023 23:25:25 +0800 Subject: [PATCH] Update (seo): let seo self generate description --- app/Http/Controllers/Front/FrontListController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Front/FrontListController.php b/app/Http/Controllers/Front/FrontListController.php index 324c097..c5fb952 100644 --- a/app/Http/Controllers/Front/FrontListController.php +++ b/app/Http/Controllers/Front/FrontListController.php @@ -60,7 +60,7 @@ public function searchResults(Request $request, $query) SEOTools::opengraph(); SEOTools::jsonLd(); SEOTools::setTitle($title, false); - SEOTools::setDescription($description); + //SEOTools::setDescription($description); $rss_posts = RssPost::with('category', 'entities_keywords') ->where('status', 'published') @@ -103,7 +103,7 @@ public function index(Request $request) SEOTools::opengraph(); SEOTools::jsonLd(); SEOTools::setTitle($title, false); - SEOTools::setDescription($description); + //SEOTools::setDescription($description); $rss_posts = RssPost::with('category', 'entities_keywords')->where('status', 'published') ->where('published_at', '<=', now()) @@ -160,7 +160,7 @@ public function category(Request $request, $category_slug) SEOTools::opengraph(); SEOTools::jsonLd(); SEOTools::setTitle($title, false); - SEOTools::setDescription($description); + //SEOTools::setDescription($description); $rss_posts = RssPost::with('category', 'entities_keywords')->where('status', 'published') ->where('category_id', $category->id)