Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

常用指令

1
2
3
4
5
hexo new "FileName"         #Create a new post
hexo clean #Clean the cached file db.json and the generated static file public
hexo generate #Generate static files
hexo server #Run server
hexo deploy #deploy to remote

美化设计

1. 更换头像

Hexo默认的文件位置在/blog/source文件目录下,因此如果在source文件夹下新建了一个images文件夹用来存放所有博客需要的图片文件。例如我使用QQ.jpg作为我的头像,那么我需要在_config.volantis.yml中的sidebar项widget_library项中的avatar设置为/images/QQ.jpg。

文章编辑

1. Front-matter使用

https://hexo.io/zh-cn/docs/front-matter

评论