# shoka 配置文件
首先把 themes/shoka/_config.yml
复制到 blog
目录下并改名为 _config.shoka.yml
# 关掉自动定位
auto-scroll: false |
# 关掉加载动画猫猫
# 是否显示页面加载动画 loading-cat | |
loader: | |
start: false # 当初次打开页面时,显示加载动画 | |
switch: false # tab 切换到其他页面时,显示加载动画 |
# 头像修改
定位到 blog/themes/shoka/source/images
目录下,用同名文件替换掉 avatar.jpg
# 图片显示
可以用 blog/_config.shoka.yml
里面的图床,但是挂了,你可以找个图床 api
# random image api | |
image_server: # "https://acg.xydwz.cn/api/api.php" |
如果之前把 example 文件夹里的东西都复制过来了就打开 blog/source/_data/images.yml
修改
我是把壁纸托管到了 Cloudinary 上
# images.yml 里面的内容 | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277649/003_oxmcdy.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277650/home_top_bg_pfhbs4.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277650/img-1623129181560e315863c555345f7276bda15b71983cc_kvbwkh.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277649/12_di0guu.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277650/img-1623129171973ef1a241fe58008d902b0f2c536f4859a_lqyfcq.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277650/img-1623128850739e3e962f1fdb508233fe00bdd51b7a3a1_vmscvh.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277650/img-1623128847017f174c7ac365c91babb5b34ee0a9200e8_py0mir.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277654/img-16231292125952cdb0bde86a4fa92b0ac54c362247247_yxog51.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277655/img-1623129139961bbc3860e85a73d4f8b60f34f63f5ea8f_yurngh.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277657/img-16231292566614cd0ea2495a0fe2ee132e6e3bd39280f_ldn8dh.jpg | |
- https://res.cloudinary.com/dcvtlm971/image/upload/v1673277659/img-1623129165380691fa2e648997f9783147b91cdaff4b4_qlmml8.jpg |