|
@@ -37,6 +37,11 @@ class Index extends Base |
|
@@ -37,6 +37,11 @@ class Index extends Base |
37
|
*/
|
37
|
*/
|
38
|
public function blog()
|
38
|
public function blog()
|
39
|
{
|
39
|
{
|
|
|
40
|
+ $web = [
|
|
|
41
|
+ 'title' => 'blog',
|
|
|
42
|
+ 'keywords' => 'blog',
|
|
|
43
|
+ 'description' => 'blog',
|
|
|
44
|
+ ];
|
40
|
|
45
|
|
41
|
$lists = $this->getData('blog');
|
46
|
$lists = $this->getData('blog');
|
42
|
if(!empty($lists['links'])){
|
47
|
if(!empty($lists['links'])){
|
|
@@ -46,7 +51,8 @@ class Index extends Base |
|
@@ -46,7 +51,8 @@ class Index extends Base |
46
|
}
|
51
|
}
|
47
|
}
|
52
|
}
|
48
|
return view('v2/blog/lists',[
|
53
|
return view('v2/blog/lists',[
|
49
|
- 'lists' => $lists
|
54
|
+ 'lists' => $lists,
|
|
|
55
|
+ 'web' => $web
|
50
|
]);
|
56
|
]);
|
51
|
}
|
57
|
}
|
52
|
|
58
|
|
|
@@ -65,8 +71,16 @@ class Index extends Base |
|
@@ -65,8 +71,16 @@ class Index extends Base |
65
|
Fun::abort();
|
71
|
Fun::abort();
|
66
|
}
|
72
|
}
|
67
|
|
73
|
|
|
|
74
|
+
|
|
|
75
|
+ $web = [
|
|
|
76
|
+ 'title' => $data['blog_title'],
|
|
|
77
|
+ 'keywords' => $data['blog_seo_keywords'],
|
|
|
78
|
+ 'description' => $data['blog_seo_description'],
|
|
|
79
|
+ ];
|
|
|
80
|
+
|
68
|
return view('v2/blog/info',[
|
81
|
return view('v2/blog/info',[
|
69
|
- 'data' => $data
|
82
|
+ 'data' => $data,
|
|
|
83
|
+ 'web' => $web
|
70
|
]);
|
84
|
]);
|
71
|
}
|
85
|
}
|
72
|
|
86
|
|