Back

Hello WorldHello World

欢迎来到 Hexo !这是你的第一篇文章。 有关详细信息,请查看 文档 。 如果您在使用 Hexo 时遇到任何问题,可以在 故障排除 中找到答案,或者您可以在 GitHub 上找到我。

快速开始

新建一篇文章

Terminal window
执行:$ hexo new "My New Post"

详细信息: 写作

Run server

Terminal window
执行:$ hexo server

详细信息: 服务

生成静态文件

Terminal window
执行:$ hexo generate

详细信息: 生成

部署到远程站点

Terminal window
执行:$ hexo deploy

详细信息: 部署

Bash 文档

命令:

命令诠释
cleanRemove generated files and cache.
configGet or set configurations.
deployDeploy your website.
generateGenerate static files.
helpGet help on a command.
initCreate a new Hexo folder.
listList the information of the site
migrateMigrate your site from other system to Hexo.
newCreate a new post.
publishRender files with renderer plugins.
serverStart the server.
versionDisplay version information.

Global Options:

OptionsComment
—configSpecify config file instead of using _config.yml
—cwdSpecify the CWD
—debugDisplay all verbose messages in the terminal
—draftDisplay draft posts
—safeDisable all plugins and scripts
—silentHide output on console

For more help, you can use ‘hexo help [command]’ for the detailed information or you can check the docs: docs

Hello World
https://cworld.top/blog/hello-world
Author CWorld
Update date June 14, 2019
Copyright CC BY-NC-SA 4.0
Comment seems to stuck. Try to refresh?✨