diff --git a/lib/routes/matters/latest.js b/lib/routes/matters/latest.js index 33c9c2909..0aa771353 100644 --- a/lib/routes/matters/latest.js +++ b/lib/routes/matters/latest.js @@ -38,6 +38,7 @@ module.exports = async (ctx) => { link, description: article, author: node.author.userName, + pubDate: node.createdAt, }; ctx.cache.set(link, JSON.stringify(single)); @@ -47,6 +48,7 @@ module.exports = async (ctx) => { ctx.state.data = { title: 'Matters | 最新文章', + link: 'https://matters.news/', item: items, }; };