Files
blog/blog-admin/tools/seed-config.yaml
T
zqlit a74b3c7127
Deploy to Production / pre-check (push) Successful in 58s
Deploy to Production / build (push) Successful in 4m3s
Deploy to Production / deploy-edgeone (push) Successful in 3m48s
Deploy to Production / finalize (push) Successful in 26s
Deploy to Production / notify-failure (push) Skipped
归档 artalk-cf 评论后端 + rss-robot 到 blog-admin(含技术选型/模块分布 README)
2026-10-04 08:45:40 +08:00

65 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Artalk 配置(artalk-cf 兼容实现 · 存于 D1 settings 表)
# 服务端识别的键:frontend / captcha / moderator.pending_default / ip_region / site_default
# 邮件相关(email / admin_notify)在 Workers 上走 Resend HTTP API,由 secret 配置,
# 这里的段落仅作参考存档。
# 默认站点名(前台 site 参数必须与此一致)
site_default: 优世界
# 审核
moderator:
# 新评论默认待审
pending_default: false
# 验证码(Workers 无 TCP,turnstile 校验可走 HTTP,暂未启用)
captcha:
enabled: false
always: false
# IP 归属地(回显 Cloudflare 边缘给出的国家码)
ip_region:
enabled: true
# 前台 UI
frontend:
placeholder: ""
noComment: ""
sendBtn: "评论一下"
editorTravel: true
emoticons: https://usj.cc/emotion/OwO.json
vote: true
voteDown: false
uaBadge: false
listSort: true
preview: true
flatMode: false
darkMode: inherit
nestMax: 2
nestSort: DATE_ASC
gravatar:
mirror: https://weavatar.com/avatar/
params: d=mp&s=240
pagination:
pageSize: 20
readMore: true
autoLoad: true
heightLimit:
content: 10000
children: 10000
scrollable: true
imgLazyLoad: data-src
reqTimeout: 15000
versionCheck: false
pluginURLs: []
# 邮件(仅参考;实际发信走 Resend:RESEND_API_KEY / MAIL_FROM / MAIL_ADMIN)
email:
enabled: true
send_name: "书呈{{parent_comment.nick}}台鉴:"
mail_subject: "[{{site_name}}] 您收到了来自 @{{reply_nick}} 的回信"
admin_notify:
email:
enabled: true
mail_subject: '[{{site_name}}] 其中 "{{page_title}}" 页面有一条新的评论!'