hexo-helper-live2d
hexo-helper-live2d copied to clipboard
About display on the hexo
Description
About display on the hexo
Expected behavior 预期行为
Display all hexo page
Actual behavior 实际行为
Display only on the post page,not display on index page,tag page and so on
Steps to reproduce the behavior 复现步骤
Version: 3.0.1
- [x] I have alreday read instructions in CONTRIBUTING. 我已仔细阅读CONTRIBUTING中的相关内容。
@EYHN @xiazeyu
请提供你的配置文件,主题,log等信息
Theme: NexT v6.0.6
Node Version: v8.10.0
_config.yml
live2d:
enable: true
scriptFrom: jsdelivr
model:
use: https://cdn.jsdelivr.net/npm/[email protected]/assets/koharu.model.json
display:
position: left
width: 75
height: 150
mobile:
show: true
react:
opacityDefault: 1
opacityOnHover: 0.2
@EYHN
您好,不知道您的博客地址是否是: https://github.com/cxyfreedom/cxyfreedom.github.io 我手机上测试首页上也是能正常显示的。不知道是不是因为排版的原因。
请尝试将页面上划并等待一会儿(资源加载)。 请告诉我结果,谢谢
@xiazeyu 地址是这个,但是因为我部署用的版本是 2.1.5
的,之前本地测试用 3.0.1
的时候就出现只有在文章页面才会有加载的情况,其他页面并没有调用 live2d 相关的 js 文件
现在线上部署的配置文件用的是,版本是 v2.1.5
的
live2d:
model: koharu
position: left
opacityDefault: 1
补充说明
目前我线上部署的临时改为了最新的版本,但是我测试下来发现只有我目前最新的那一篇能够加载出来,其余文章页面也无法加载。是我配置有问题,还是哪里不对,谢谢