-
Notifications
You must be signed in to change notification settings - Fork 120
Comment Setting
Ben Wong edited this page Dec 26, 2017
·
4 revisions
主题文件夹内有一个 _config.sample.yml
文件,里面列出了主题支持的所有设置项,可以参考新建一个 _config.yml
文件并进行自定义配置。
A _config.sample.yml
is in your theme, which shows you all settings supported. You can new a _config.yml
then put the settings in.
主题支持 Disqus、网易云跟帖、多说、友言、Valine 的评论服务,请找到评论框的用户名并填入设置。不填不会出现评论框,多填会出现多个评论框。
hexo-theme-Anatole supports Disqus, 163Gentie, Duoshuo, Youyan, Valine. Please find your username in these service and fill in setting. Comments will not display with empty value.
duoshuo:
disqus:
gentie: # 网易云跟帖
youyan: # 友言
如果你使用 Valine,请添加以下配置:
If you use Valine, please set the value below:
# Valine comments https://valine.js.org
valine:
enable: false # if you want use valine, please set enable: true
appid: # your leancloud appid
appkey: # your leancloud appkey
notify: false # true/false:mail notify !!!Test,Caution. https://github.com/xCss/Valine/wiki/Valine-%E8%AF%84%E8%AE%BA%E7%B3%BB%E7%BB%9F%E4%B8%AD%E7%9A%84%E9%82%AE%E4%BB%B6%E6%8F%90%E9%86%92%E8%AE%BE%E7%BD%AE
verify: false # true/false:verify code
avatar: mm # avatar style https://github.com/xCss/Valine/wiki/avatar-setting-for-valine
placeholder: Just go go # comment box placeholder