raytaylorlin / hexo-theme-raytaylorism

一款Material Design风格的hexo主题
MIT License
472 stars 111 forks source link

首页幻灯片背景图如何设置为本地图片? #83

Closed StarsMyDestination closed 7 years ago

StarsMyDestination commented 7 years ago

试了下,发现这样子是行不通的: "image": "./download.jpeg"

StarsMyDestination commented 7 years ago

解决了。 需要将本地图片放置于theme下的source中,之后编译会在博客根目录下生成相应文件,然后用相对位置去索引即可,如 "image": "/slide_imgs/gtr.jpg", 自己博客的文件结果应该按照编译完之后的进行,可以看自己github上的文件结构。