Update (seo): let seo self generate description
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user