We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7903b commit 8cf0b6dCopy full SHA for 8cf0b6d
theme/plugins/blog/index.js
@@ -50,6 +50,9 @@ module.exports = (optins = {}, ctx) => {
50
// console.warn($page);
51
// }
52
}
53
+ // if ($page.excerpt) { // 处理图片
54
+ // console.warn($page.excerpt);
55
+ // }
56
return extendPageData($page, ctx);
57
},
58
};
theme/plugins/rss.js
@@ -58,7 +58,7 @@ module.exports = (options, ctx) => {
59
return {
60
title: page.title,
61
- description: page.excerpt,
+ description: summary || page.excerpt,
62
url: `${siteUrl}${decodeURIComponent(page.path)}`,
63
guid: page.path,
64
categories: [].concat(categories, tags),
0 commit comments