EYHN / hexo-helper-live2d

Add the Sseexxyyy live2d to your hexo!
GNU General Public License v2.0
3.86k stars 470 forks source link

About display on the hexo #98

Open cxyfreedom opened 6 years ago

cxyfreedom commented 6 years ago

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

@EYHN @xiazeyu

EYHN commented 6 years ago

请提供你的配置文件,主题,log等信息

cxyfreedom commented 6 years ago

Theme:NexT v6.0.6 Node Version: v8.10.0

_config.yml

live2d:
  enable: true
  scriptFrom: jsdelivr
  model:
    use: https://cdn.jsdelivr.net/npm/live2d-widget-model-koharu@1.0.5/assets/koharu.model.json
  display:
    position: left
    width: 75
    height: 150
  mobile:
    show: true
  react:
    opacityDefault: 1
    opacityOnHover: 0.2

@EYHN

xiazeyu commented 6 years ago

您好,不知道您的博客地址是否是: https://github.com/cxyfreedom/cxyfreedom.github.io 我手机上测试首页上也是能正常显示的。不知道是不是因为排版的原因。

请尝试将页面上划并等待一会儿(资源加载)。 请告诉我结果,谢谢

cxyfreedom commented 6 years ago

@xiazeyu 地址是这个,但是因为我部署用的版本是 2.1.5 的,之前本地测试用 3.0.1 的时候就出现只有在文章页面才会有加载的情况,其他页面并没有调用 live2d 相关的 js 文件

现在线上部署的配置文件用的是,版本是 v2.1.5

live2d:
  model: koharu
  position: left
  opacityDefault: 1

补充说明

目前我线上部署的临时改为了最新的版本,但是我测试下来发现只有我目前最新的那一篇能够加载出来,其余文章页面也无法加载。是我配置有问题,还是哪里不对,谢谢