Skip to content

Commit 644a6d3

Browse files
committed
feat: comment
1 parent 23f3ff6 commit 644a6d3

File tree

6 files changed

+6218
-3444
lines changed

6 files changed

+6218
-3444
lines changed

gatsby-config.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
title: `Yuying Wu`,
55
author: `Yuying Wu`,
66
description: `个人博客,文字、代码、照片,记录工作和生活`,
7-
copyright: `©2014-${new Date().getFullYear()} 京ICP备16019960号`,
7+
copyright: `©2014-${new Date().getFullYear()}`,
88
siteUrl: `https://wuyuying.com`,
99
aboutUrl: `/about`,
1010
avatar: 'https://wyy-static.oss-cn-guangzhou.aliyuncs.com/xx/avatar.jpeg',
@@ -43,6 +43,17 @@ module.exports = {
4343
},
4444
flags: { PRESERVE_WEBPACK_CACHE: true },
4545
plugins: [
46+
{
47+
resolve: `gatsby-plugin-valine`,
48+
options: {
49+
appId: `TnIhwy7mhDOYzPGzQYOO1Ngj-gzGzoHsz`,
50+
appKey: `uxHtOYVZuFHeXoWEdl69wjqb`,
51+
avatar: `hide`,
52+
visitor: true,
53+
placeholder: '留下你的评论吧',
54+
meta: ['nick', 'mail']
55+
},
56+
},
4657
`gatsby-plugin-offline`,
4758
`gatsby-plugin-react-helmet`,
4859
{

0 commit comments

Comments
 (0)