...
|
...
|
@@ -37,6 +37,11 @@ class Index extends Base |
|
|
*/
|
|
|
public function blog()
|
|
|
{
|
|
|
$web = [
|
|
|
'title' => 'blog',
|
|
|
'keywords' => 'blog',
|
|
|
'description' => 'blog',
|
|
|
];
|
|
|
|
|
|
$lists = $this->getData('blog');
|
|
|
if(!empty($lists['links'])){
|
...
|
...
|
@@ -46,7 +51,8 @@ class Index extends Base |
|
|
}
|
|
|
}
|
|
|
return view('v2/blog/lists',[
|
|
|
'lists' => $lists
|
|
|
'lists' => $lists,
|
|
|
'web' => $web
|
|
|
]);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -65,8 +71,16 @@ class Index extends Base |
|
|
Fun::abort();
|
|
|
}
|
|
|
|
|
|
|
|
|
$web = [
|
|
|
'title' => $data['blog_title'],
|
|
|
'keywords' => $data['blog_seo_keywords'],
|
|
|
'description' => $data['blog_seo_description'],
|
|
|
];
|
|
|
|
|
|
return view('v2/blog/info',[
|
|
|
'data' => $data
|
|
|
'data' => $data,
|
|
|
'web' => $web
|
|
|
]);
|
|
|
}
|
|
|
|
...
|
...
|
|