From 059674ead21d183f89c41096043bf0801789c781 Mon Sep 17 00:00:00 2001 From: ruleroller Date: Wed, 3 Jul 2019 12:01:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=AD=A3Matters=E7=83=AD?= =?UTF-8?q?=E9=97=A8=E6=96=87=E7=AB=A0=E7=9A=84=E6=A0=87=E9=A2=98=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=20(#2535)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update cxxww.js * fix: 修正Matters热门文章的标题 --- lib/routes/matters/hot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/matters/hot.js b/lib/routes/matters/hot.js index 4496856b4..c74041f60 100644 --- a/lib/routes/matters/hot.js +++ b/lib/routes/matters/hot.js @@ -45,7 +45,7 @@ module.exports = async (ctx) => { ctx.cache.set(out[indexList[i]].link, JSON.stringify(out[i])); } ctx.state.data = { - title: $('title').text(), + title: `熱門文章 - ${$('title').text()}`, link: url, item: out, };