diff --git a/lib/v2/jin10/index.js b/lib/v2/jin10/index.js
index d997f64827..baa02a5f5f 100644
--- a/lib/v2/jin10/index.js
+++ b/lib/v2/jin10/index.js
@@ -27,14 +27,14 @@ module.exports = async (ctx) => {
);
const item = data.map((item) => {
- const titleMatch = item.data.content.match(/【(.*?)】/);
+ const titleMatch = item.data.content.match(/^【(.*?)】/);
let title;
let content = item.data.content;
if (titleMatch) {
title = titleMatch[1];
content = content.replace(titleMatch[0], '');
} else {
- title = item.data.content;
+ title = item.data.vip_title || item.data.content;
}
return {
@@ -44,6 +44,7 @@ module.exports = async (ctx) => {
pic: item.data.pic,
}),
pubDate: timezone(parseDate(item.time), 8),
+ link: item.data.link,
guid: `jin10:index:${item.id}`,
important: item.important,
};
diff --git a/lib/v2/jin10/templates/description.art b/lib/v2/jin10/templates/description.art
index c9b4543884..9ab6a3596d 100644
--- a/lib/v2/jin10/templates/description.art
+++ b/lib/v2/jin10/templates/description.art
@@ -1,2 +1,2 @@
-{{@ content }}
+{{ if content }}{{@ content }}{{ /if }}
{{ if pic }}
{{ /if }}