fix(route): add description field to /instructables/projects (#12255)

This commit is contained in:
wolfg 2023-04-07 19:58:38 +08:00 committed by GitHub
parent e14eb410f1
commit 801d90d107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ module.exports = async (ctx) => {
title: item.document.title,
link: `https://${siteDomain}/${item.document.urlString}`,
author: item.document.screenName,
description: `<img src="${item.document.coverImageUrl}">`,
pubDate: new Date(item.document.publishDate).toUTCString(),
category: item.document.primaryClassification,
})),