Hexo基于LeanCloud搭建评论功能

发布时间 2023-04-12 00:01:23作者: 時光心向阳

1、注册LeanCloud

LeanCloud官网

2、实名认证

使用LeanCloud功能需要进行实名认证

image-20230403151923032

3、验证邮箱

image-20230403152408478

4、创建应用

image-20230403153255119

5、查看应用凭证

image-20230403154228598

6、修改当前主题配置文件中的 leancloud 配置

image-20230403160353507

8、绑定域名

image-20230403154840679

9、重新部署服务

# 生成网页
hexo g
# 推送到远程服务
hexo d
# 启动服务
hexo s

10、测试

image-20230403160645540

11、查看api提交记录

image-20230403161415517

相关参考

Valine官网

hexo添加评论功能

Hexo中Buttefly主题Valine评论系统配置以及美化(七)