Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zyao89 committed Apr 1, 2020
1 parent 6d7903b commit 8cf0b6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions theme/plugins/blog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ module.exports = (optins = {}, ctx) => {
// console.warn($page);
// }
}
// if ($page.excerpt) { // 处理图片
// console.warn($page.excerpt);
// }
return extendPageData($page, ctx);
},
};
Expand Down
2 changes: 1 addition & 1 deletion theme/plugins/rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = (options, ctx) => {
}
return {
title: page.title,
description: page.excerpt,
description: summary || page.excerpt,
url: `${siteUrl}${decodeURIComponent(page.path)}`,
guid: page.path,
categories: [].concat(categories, tags),
Expand Down

0 comments on commit 8cf0b6d

Please sign in to comment.