fix: update titles

This commit is contained in:
DIYgod
2024-09-09 00:22:33 +08:00
parent 28bbde0676
commit be3b4d449a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -61,9 +61,9 @@ async function handler() {
);
return {
title: '少数派 -- 首页',
title: '少数派',
link: 'https://sspai.com',
description: '少数派 -- 首页',
description: '少数派首页',
item: items,
};
}
+1 -1
View File
@@ -42,7 +42,7 @@ async function handler(ctx) {
collect,
} = await getUser(url, cache);
const title = `${basicInfo.nickname} - ${category === 'notes' ? '笔记' : '收藏'} • 小红书 / RED`;
const title = `${basicInfo.nickname} - 小红书${category === 'notes' ? '笔记' : '收藏'}`;
const description = `${basicInfo.desc} ${tags.map((t) => t.name).join(' ')} ${interactions.map((i) => `${i.count} ${i.name}`).join(' ')}`;
const image = basicInfo.imageb || basicInfo.images;