Merge pull request #33 from yun-percy/patch-8

[bugfix]添加分享专用的摘要
This commit is contained in:
孙正华
2018-01-01 11:04:34 +08:00
committed by GitHub

View File

@@ -254,6 +254,7 @@ router.get('/:category/:article', function (req, res, next) {
ViewCount: article.ViewCount,
LabelList: labelList,
Summary: article.Summary,
Summary_share:article.Summary.replace(/\r\n/g,"。"),
Content: article.Content
};
res.render('blog/article', {