Update (seo): let seo self generate description

This commit is contained in:
2023-11-29 23:25:25 +08:00
parent 5904418e8d
commit 315ddd0ded

View File

@@ -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)