...
|
...
|
@@ -24,8 +24,12 @@ class Index extends Base |
|
|
*/
|
|
|
public function home()
|
|
|
{
|
|
|
|
|
|
return view('v2/home');
|
|
|
$web = [
|
|
|
'title' => 'Shopk.com',
|
|
|
'keywords' => 'Shopk.com',
|
|
|
'description' => 'Shopk.com',
|
|
|
];
|
|
|
return view('v2/home', compact('web'));
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -38,7 +42,7 @@ class Index extends Base |
|
|
public function blog()
|
|
|
{
|
|
|
$web = [
|
|
|
'title' => 'blog',
|
|
|
'title' => 'blog - Shopk.com',
|
|
|
'keywords' => 'blog',
|
|
|
'description' => 'blog',
|
|
|
];
|
...
|
...
|
@@ -73,7 +77,7 @@ class Index extends Base |
|
|
|
|
|
|
|
|
$web = [
|
|
|
'title' => $data['blog_title'],
|
|
|
'title' => $data['blog_title'] . ' - Shopk.com',
|
|
|
'keywords' => $data['blog_seo_keywords'] ?? $data['blog_title'],
|
|
|
'description' => $data['blog_seo_description'] ?? $data['blog_title'],
|
|
|
];
|
...
|
...
|
@@ -100,7 +104,7 @@ class Index extends Base |
|
|
}
|
|
|
|
|
|
$web = [
|
|
|
'title' => $page['page_title'],
|
|
|
'title' => $page['page_title'] . ' - Shopk.com',
|
|
|
'keywords' => $page['page_seo_keywords'] ? implode(', ', $page['page_seo_keywords']) : $page['page_title'],
|
|
|
'description' => $page['page_seo_description'] ?? $page['page_title'],
|
|
|
];
|
...
|
...
|
|