From 4d60481b786d85df8298aec0b967b613aab87bdf Mon Sep 17 00:00:00 2001 From: tlyong1992 Date: Wed, 15 Jun 2022 13:44:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E6=96=B0=E8=AF=84=E8=AE=BA=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E5=8F=AF=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog.config.js | 1 + themes/example/components/SideBar.js | 2 +- themes/next/components/SideAreaRight.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/blog.config.js b/blog.config.js index 01b32c22..f9bf64bc 100644 --- a/blog.config.js +++ b/blog.config.js @@ -108,6 +108,7 @@ const BLOG = { COMMENT_VALINE_PLACEHOLDER: process.env.NEXT_PUBLIC_VALINE_PLACEHOLDER || '抢个沙发吧~', // 可以搭配后台管理评论 https://github.com/DesertsP/Valine-Admin 便于查看评论,以及邮件通知,垃圾评论过滤等功能 COMMENT_WALINE_SERVER_URL: process.env.NEXT_PUBLIC_WALINE_SERVER_URL || '', // Waline 评论 @see https://waline.js.org/guide/get-started.html + COMMENT_WALINE_RECENT: process.env.NEXT_PUBLIC_WALINE_RECENT || false, // 最新评论 // 站点统计 ANALYTICS_BUSUANZI_ENABLE: true, // 展示网站阅读量、访问数 see http://busuanzi.ibruce.info/ diff --git a/themes/example/components/SideBar.js b/themes/example/components/SideBar.js index 823c9993..0e90fe1c 100644 --- a/themes/example/components/SideBar.js +++ b/themes/example/components/SideBar.js @@ -38,7 +38,7 @@ export const SideBar = (props) => { - {BLOG.COMMENT_WALINE_SERVER_URL &&