From 5d639f916d66df1df69e4c18cd415ce3a770f2a9 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 14 Jan 2020 14:22:12 +0800 Subject: [PATCH] feat: nga title --- docs/game.md | 12 ++++++------ lib/routes/nga/forum.js | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/game.md b/docs/game.md index d5fc3f5f1..055074c7d 100644 --- a/docs/game.md +++ b/docs/game.md @@ -191,6 +191,12 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的 | ------ | ---- | -------- | | update | hot | spent | +## 公主链接 + +### 日服公告 + + + ## 篝火营地 ### 游戏资讯 @@ -362,9 +368,3 @@ Example: `https://store.steampowered.com/search/?specials=1&term=atelier` 中的 ### 公告 - -## 公主链接 - -### 日服公告 - - diff --git a/lib/routes/nga/forum.js b/lib/routes/nga/forum.js index 4d4716d11..12284352d 100644 --- a/lib/routes/nga/forum.js +++ b/lib/routes/nga/forum.js @@ -58,7 +58,7 @@ module.exports = async (ctx) => { ); ctx.state.data = { - title: `NGA - ${forumname}`, + title: `NGA-${forumname}${recommend ? '-精华' : ''}`, link: `https://nga.178.com/thread.php?fid=${fid}`, description: 'NGA是国内专业的游戏玩家社区,魔兽世界,英雄联盟,炉石传说,风暴英雄,暗黑破坏神3(D3)游戏攻略讨论,以及其他热门游戏玩家社区', item: resultItem,