我的第一篇博客
- categories
- >
- 博客
Across the great wall we can reach every corner in the world
你好,世界
#include <iostream>
int main() {
std::cout << "hello world!" << std::endl;
return 0;
}
Hexo 基本使用
获取帮助
hexo --help
Usage: hexo <command>
Commands:
clean Remove generated files and cache.
config Get or set configurations.
deploy Deploy your website.
generate Generate static files.
help Get help on a command.
init Create a new Hexo folder.
list List the information of the site
migrate Migrate your site from other system to Hexo.
new Create a new post.
publish Moves a draft post from _drafts to _posts folder.
render Render files with renderer plugins.
server Start the server.
version Display version information.
Global Options:
--config Specify config file instead of using _config.yml
--cwd Specify the CWD
--debug Display all verbose messages in the terminal
--draft Display draft posts
--safe Disable all plugins and scripts
--silent Hide output on console
For more help, you can use 'hexo help [command]' for the detailed information
or you can check the docs: http://hexo.io/docs/
启动服务
hexo server
# 简写
hexo s
指定配置文件
hexo s --config _config.gitee.yml
生成静态页面
hexo generate
# 简写
hexo g
指定配置文件
hexo g --config _config.gitee.yml
部署到远端
hexo deploy
# 简写
hexo d
TODO
学习,记录
comment:
- Valine
- LiveRe
- ChangYan