为hexo添加live2d
安装live2d模块
npm install --save hexo-helper-live2d
安装live2d模型
npm install {packagename}
live2d-widget-model-chitose
live2d-widget-model-epsilon2_1
live2d-widget-model-gf
live2d-widget-model-haru/01
live2d-widget-model-haru/02
live2d-widget-model-haruto
live2d-widget-model-hibiki
live2d-widget-model-hijiki
live2d-widget-model-izumi
live2d-widget-model-koharu
live2d-widget-model-miku
live2d-widget-model-ni-j
live2d-widget-model-nico
live2d-widget-model-nietzsche
live2d-widget-model-nipsilon
live2d-widget-model-nito
live2d-widget-model-shizuku
live2d-widget-model-tororo
live2d-widget-model-tsumiki
live2d-widget-model-unitychan
live2d-widget-model-wanko
live2d-widget-model-z16
相关配置
在hexo的blog根目录下,编辑_config.yml文件,在最下方加入:
1 | # Live2D |
注意:yml文件强制缩进,不要多打空格。
最后使用hexo g
重新构建网站