mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
chore: add image setting to next config and update webmention description in blog config file
This commit is contained in:
@@ -177,6 +177,13 @@ const BLOG = {
|
||||
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
|
||||
COMMENT_WALINE_RECENT: process.env.NEXT_PUBLIC_WALINE_RECENT || false, // 最新评论
|
||||
|
||||
// 此评论系统基于WebMention,细节可参考https://webmention.io
|
||||
// 它是一个基于IndieWeb理念的开放式评论系统,下方COMMENT_WEBMENTION包含的属性皆需配置:
|
||||
// ENABLE: 是否开启
|
||||
// AUTH: Webmention使用的IndieLogin,可使用Twitter或Github个人页面连结
|
||||
// HOSTNAME: Webmention绑定之网域,通常即为本站网址
|
||||
// TWITTER_USERNAME: 评论显示区域需要的资讯
|
||||
// TOKEN: Webmention的API token
|
||||
COMMENT_WEBMENTION: {
|
||||
ENABLE: process.env.NEXT_PUBLIC_WEBMENTION_ENABLE || false,
|
||||
AUTH: process.env.NEXT_PUBLIC_WEBMENTION_AUTH || '',
|
||||
|
||||
@@ -13,7 +13,8 @@ module.exports = withBundleAnalyzer({
|
||||
'avatars.githubusercontent.com',
|
||||
'images.unsplash.com',
|
||||
'source.unsplash.com',
|
||||
'p1.qhimg.com'
|
||||
'p1.qhimg.com',
|
||||
'webmention.io'
|
||||
]
|
||||
},
|
||||
// 默认将feed重定向至 /public/rss/feed.xml
|
||||
|
||||
Reference in New Issue
Block a user