快捷搜索: 王者荣耀 脱发

Butterfly主题配置Artitalk

一、Artitalk.js

基于 LeanCloud 实现的可实时发布说说/微语的 js

    快速门
  1. drew叔的博客 :、
  2. cungudafa:

二、 设置参数

1.申请leancloud国际版账号

  1. 前往,注册账号
  2. 创建应用,并验证手机号

2.配置

  1. 点击设置
  2. 添加用户存储->结构化数据->_User

3. 权限设置存储 -> 结构化数据 -> _User -> 权限

前四个都修改设置为指定用户、用户名 最终效果 4. 获取应用KeysAppID、AppKey 5. 设置安全域名

三、Butterfly主题配置

    1. 导航栏配置

2. 创建页面

`hexo new page artitalk`

// index.md
---
title: artitalk
date: 2021-01-13 09:56:11
type: artitalk
comments: false
top_img: // 页面封面
---
<!-- 引用 artitalk -->
<script type="text/javascript" src="https://unpkg.com/artitalk"></script>
<!-- 存放说说的容器 -->
<div id="artitalk_main"></div>
<script>
new Artitalk({
          
   
    appId: , // Your LeanCloud appId
    appKey:  // Your LeanCloud appKey
})
</script>
经验分享 程序员 微信小程序 职场和发展