Authored by xuqi

默认是否登录数据

@@ -9,6 +9,7 @@ exports.show = function(req, res) { @@ -9,6 +9,7 @@ exports.show = function(req, res) {
9 res.render('pages/tag', { 9 res.render('pages/tag', {
10 data: data, 10 data: data,
11 layout: '../layouts/layout', 11 layout: '../layouts/layout',
12 - isEditor: true 12 + isEditor: true,
  13 + isLogin: 'Y'
13 }); 14 });
14 }; 15 };
@@ -12,7 +12,8 @@ exports.show = function(req, res) { @@ -12,7 +12,8 @@ exports.show = function(req, res) {
12 res.render('pages/ps', { 12 res.render('pages/ps', {
13 data: data, 13 data: data,
14 layout: '../layouts/layout', 14 layout: '../layouts/layout',
15 - isPs: true 15 + isPs: true,
  16 + isLogin: 'Y'
16 }); 17 });
17 }; 18 };
18 19
@@ -9,7 +9,8 @@ exports.show = function(req, res) { @@ -9,7 +9,8 @@ exports.show = function(req, res) {
9 res.render('pages/saunter', { 9 res.render('pages/saunter', {
10 data: data, 10 data: data,
11 layout: '../layouts/layout', 11 layout: '../layouts/layout',
12 - isSaunter: true 12 + isSaunter: true,
  13 + isLogin: 'N'
13 }); 14 });
14 }; 15 };
15 16
@@ -10,7 +10,8 @@ exports.show = function(req, res) { @@ -10,7 +10,8 @@ exports.show = function(req, res) {
10 res.render('pages/tag', { 10 res.render('pages/tag', {
11 data: data, 11 data: data,
12 layout: '../layouts/layout', 12 layout: '../layouts/layout',
13 - isTag: true 13 + isTag: true,
  14 + isLogin: 'N'
14 }); 15 });
15 }; 16 };
16 17
@@ -15,7 +15,8 @@ exports.show = function(req, res) { @@ -15,7 +15,8 @@ exports.show = function(req, res) {
15 res.render('pages/template', { 15 res.render('pages/template', {
16 data: data, 16 data: data,
17 layout: '../layouts/layout', 17 layout: '../layouts/layout',
18 - isTemplate: true 18 + isTemplate: true,
  19 + isLogin: 'Y'
19 }); 20 });
20 }; 21 };
21 22