在本地markdown上,照片能正常显示,但是部署后却不显示。看了一下官方文档,Hexo3以上可以通过设置post_asset_folder来解决。
Hexo+next博客搭建并部署到github
一、安装下载Node.js、Vscode、Git
1.1 安装可以看这篇博文的第2点 《在Windows系统下安装Node.js》的1-6点(补充除外):https://blog.csdn.net/loze/article/details/94208742
Hello World
有东西被加密了, 请输入密码查看.
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
1 | $ hexo new "My New Post" |
More info: Writing
Run server
1 | $ hexo server |
More info: Server
Generate static files
1 | $ hexo generate |
More info: Generating
Deploy to remote sites
1 | $ hexo deploy |
More info: Deployment