File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,13 @@ const BLOG = {
177
177
COMMENT_WALINE_SERVER_URL : process . env . NEXT_PUBLIC_WALINE_SERVER_URL || '' , // 请配置完整的Waline评论地址 例如 hhttps://preview-waline.tangly1024.com @see https://waline.js.org/guide/get-started.html
178
178
COMMENT_WALINE_RECENT : process . env . NEXT_PUBLIC_WALINE_RECENT || false , // 最新评论
179
179
180
+ // 此评论系统基于WebMention,细节可参考https://webmention.io
181
+ // 它是一个基于IndieWeb理念的开放式评论系统,下方COMMENT_WEBMENTION包含的属性皆需配置:
182
+ // ENABLE: 是否开启
183
+ // AUTH: Webmention使用的IndieLogin,可使用Twitter或Github个人页面连结
184
+ // HOSTNAME: Webmention绑定之网域,通常即为本站网址
185
+ // TWITTER_USERNAME: 评论显示区域需要的资讯
186
+ // TOKEN: Webmention的API token
180
187
COMMENT_WEBMENTION : {
181
188
ENABLE : process . env . NEXT_PUBLIC_WEBMENTION_ENABLE || false ,
182
189
AUTH : process . env . NEXT_PUBLIC_WEBMENTION_AUTH || '' ,
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ module.exports = withBundleAnalyzer({
13
13
'avatars.githubusercontent.com' ,
14
14
'images.unsplash.com' ,
15
15
'source.unsplash.com' ,
16
- 'p1.qhimg.com'
16
+ 'p1.qhimg.com' ,
17
+ 'webmention.io'
17
18
]
18
19
} ,
19
20
// 默认将feed重定向至 /public/rss/feed.xml
You can’t perform that action at this time.
0 commit comments