mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-02 01:58:11 +08:00
fix(route): add description field to /instructables/projects (#12255)
This commit is contained in:
@@ -48,6 +48,7 @@ module.exports = async (ctx) => {
|
|||||||
title: item.document.title,
|
title: item.document.title,
|
||||||
link: `https://${siteDomain}/${item.document.urlString}`,
|
link: `https://${siteDomain}/${item.document.urlString}`,
|
||||||
author: item.document.screenName,
|
author: item.document.screenName,
|
||||||
|
description: `<img src="${item.document.coverImageUrl}">`,
|
||||||
pubDate: new Date(item.document.publishDate).toUTCString(),
|
pubDate: new Date(item.document.publishDate).toUTCString(),
|
||||||
category: item.document.primaryClassification,
|
category: item.document.primaryClassification,
|
||||||
})),
|
})),
|
||||||
|
|||||||
Reference in New Issue
Block a user