From ba7d7c4756418579458ab816db56194d1a4b926a Mon Sep 17 00:00:00 2001 From: Laam Pui Date: Thu, 15 Oct 2020 18:57:00 +0800 Subject: [PATCH] fix: set category title as description --- lib/routes/frontend/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/routes/frontend/index.js b/lib/routes/frontend/index.js index 44e943d7c6..719049ed26 100644 --- a/lib/routes/frontend/index.js +++ b/lib/routes/frontend/index.js @@ -12,7 +12,8 @@ module.exports = async (ctx) => { link: item.link, pubDate: item.date, title: item.title, - author: category.title + author: category.title, + description: category.title })), ], []