Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 首页无法显示动态字 #1259

Closed
QSlotus opened this issue Apr 15, 2023 · 2 comments
Closed

[Bug]: 首页无法显示动态字 #1259

QSlotus opened this issue Apr 15, 2023 · 2 comments

Comments

@QSlotus
Copy link

QSlotus commented Apr 15, 2023

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.8.1

是否修改过主题文件? || Has the theme files been modified?

是 (Yes)

使用的瀏覽器? || What browse are you using?

Edge

使用的系統? || What operating system are you using?

Windows

問題描述 | Describe the bug

  1. 新建blog,设置butterfly为博客主题。
  2. 主题目录下 _config.yml subtitle部分配置为:
# the subtitle on homepage (主頁subtitle)
subtitle:
  enable: true
  # Typewriter Effect (打字效果)
  effect: true
  startDelay: 300 # time before typing starts in milliseconds
  typeSpeed: 150 # type speed in milliseconds
  backSpeed: 50 # backspacing speed in milliseconds
  # loop (循环打字)
  loop: true
  # source 调用第三方服务
  # source: false 关闭调用
  # source: 1  调用一言网的一句话(简体) https://hitokoto.cn/
  # source: 2  调用一句网(简体) http://yijuzhan.com/
  # source: 3  调用今日诗词(简体) https://www.jinrishici.com/
  # subtitle 会先显示 source , 再显示 sub 的内容
  source: false
  # 如果关闭打字效果,subtitle 只会显示 sub 的第一行文字
  sub:
    - 今日事今日毕
  1. 已经检查hexo目录下没有 _config.butterfly.yml 配置文件
    image

  2. 尝试过删除 node_modulesnpm install

出現問題網站 | Website

https://halo-402.asia

@jerryc127
Copy link
Owner

你使用的是 cdnjs
最新版的typed.js cdnjs 没有更新 获取不到
你在CDN 的option
写一个可以用的 CDN 链接吧

@QSlotus
Copy link
Author

QSlotus commented Apr 16, 2023

你使用的是 cdnjs 最新版的typed.js cdnjs 没有更新 获取不到 你在CDN 的option 写一个可以用的 CDN 链接吧

万分感谢!问题已解决

@QSlotus QSlotus closed this as completed Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants