技术分享
🗒️技术分享丨Hexo博客配置valine评论系统
00 分钟
2023-4-26
2023-11-9
type
status
date
slug
summary
tags
category
icon
password

Hexo博客配置valine评论系统

注册LeanCloud

注册之后需要验证一下身份,通过支付宝人脸识别一下,很快。
然后还需要验证一下注册邮箱。

配置LeanCloud

点击创建应用
notion image
自己取一个名字,点击创建
notion image
创建之后,点击齿轮
notion image
左边菜单选择”设置 - 应用凭证“,保存好AppID和AppKey
notion image
左边菜单选择”安全中心“,打开”数据存储“开关,将自己博客地址输入安全域名,保存
notion image

修改主题文件

修改评论系统配置
use:填写”Valine“
lazyload:滚动到评论再加载,可以开
count:文章显示评论数,可以不开
card_post_count::主页显示评论数,可以不开
notion image
填写valine配置,填入appId和appKey
notion image
到这里保存重载即可。

参考资料


评论
  • Cusdis