From 102517168b42e4fe97b22c824b7ceccf5ae6f0c6 Mon Sep 17 00:00:00 2001 From: Charles Teh Date: Thu, 23 Nov 2023 15:12:01 +0800 Subject: [PATCH] Update (fix): fix meta --- app/Http/Controllers/Front/FrontListController.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/Front/FrontListController.php b/app/Http/Controllers/Front/FrontListController.php index 450d9ff..e99d4d6 100644 --- a/app/Http/Controllers/Front/FrontListController.php +++ b/app/Http/Controllers/Front/FrontListController.php @@ -47,7 +47,13 @@ public function searchResults(Request $request, $query) $description = 'Stay updated with '.$query; foreach ($top_rss_keywords as $rss_keyword) { - $description .= ', '.$rss_keyword->value; + + if (strtolower($rss_keyword) != strtolower($query)) + { + $description .= ', '.$rss_keyword->value; + } + + } $description .= ' and 1000+ other news topics with 1-minute news bites with FutureWalker.';