about me
beef potato, a college student majored in veterinary.
this site
based on github page, hexo, xpoet
to do list
多多少少丰富一下网站的内容
- 标题简介
- 背景/头像
- 文件管理
- 以下是一些修饰性功能
- 鼠标样式
- 看板娘/天气/时间插件
- 随机格言(hexo直接可以配置)
- 评论
live2d
hexo g
生成网页后,在public/index.html中添加对应代码
1 | <script src="https://fastly.jsdelivr.net/gh/stevenjoezhang/live2d-widget@latest/autoload.js"></script> |
但是这样加载出来的看板娘只能在index.html中存在,进入新的页面后无法加载,因为url更改了,因此需要更为深层的结构融合。
themes\keep\layout\_partial\head.ejs
这个路径是theme模板生成html.head 的地方, 实践证明可行,但是加载速度很慢,还得看看文档。
暂时到这里吧。