|
@@ -50,6 +50,7 @@ const editor = (req, res, next) => { |
|
@@ -50,6 +50,7 @@ const editor = (req, res, next) => { |
50
|
let authorData = datas[0],
|
50
|
let authorData = datas[0],
|
51
|
articleListData = datas[1];
|
51
|
articleListData = datas[1];
|
52
|
let build = [];
|
52
|
let build = [];
|
|
|
53
|
+ let name = authorData.data ? authorData.data.name : '';
|
53
|
|
54
|
|
54
|
if (articleListData.data && articleListData.data.list && articleListData.data.list.artList) {
|
55
|
if (articleListData.data && articleListData.data.list && articleListData.data.list.artList) {
|
55
|
articleListData.data.list.artList.forEach(articleData => {
|
56
|
articleListData.data.list.artList.forEach(articleData => {
|
|
@@ -67,9 +68,9 @@ const editor = (req, res, next) => { |
|
@@ -67,9 +68,9 @@ const editor = (req, res, next) => { |
67
|
|
68
|
|
68
|
res.render('index/list', Object.assign({
|
69
|
res.render('index/list', Object.assign({
|
69
|
page: 'index-editor',
|
70
|
page: 'index-editor',
|
70
|
- title: `潮流编辑${authorData.data.name}|YOHO!BUY有货`,
|
|
|
71
|
- keywords: `潮流编辑${authorData.data.name}`,
|
|
|
72
|
- description: `YOHO!BUY有货潮流编辑${authorData.data.name}!`,
|
71
|
+ title: `潮流编辑${name}|YOHO!BUY有货`,
|
|
|
72
|
+ keywords: `潮流编辑${name}`,
|
|
|
73
|
+ description: `YOHO!BUY有货潮流编辑${name}!`,
|
73
|
guangList: true,
|
74
|
guangList: true,
|
74
|
gender: gender,
|
75
|
gender: gender,
|
75
|
guang: {
|
76
|
guang: {
|