diff --git a/routes/blog.js b/routes/blog.js index cdfc8c3..8f4c91b 100644 --- a/routes/blog.js +++ b/routes/blog.js @@ -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', {